diff options
author | Eric Dumazet <edumazet@google.com> | 2023-09-12 09:17:25 +0000 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-09-14 16:16:36 +0200 |
commit | 6d5a12eb91224d707f8691dccb40a5719fe5466d (patch) | |
tree | 88a6583fefc7a4eccdddbf1000a3858188db7b9f /include/linux/osq_lock.h | |
parent | e1dc0615c6b08ef36414f08c011965b8fb56198b (diff) |
udp: add missing WRITE_ONCE() around up->encap_rcv
UDP_ENCAP_ESPINUDP_NON_IKE setsockopt() writes over up->encap_rcv
while other cpus read it.
Fixes: 067b207b281d ("[UDP]: Cleanup UDP encapsulation code")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux/osq_lock.h')
0 files changed, 0 insertions, 0 deletions