Eric Dumazet 0ca9fc8200 udp: add missing WRITE_ONCE() around up->encap_rcv
[ Upstream commit 6d5a12eb91224d707f8691dccb40a5719fe5466d ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-11-20 11:06:44 +01:00
..
2023-06-09 10:30:12 +02:00
2023-10-10 21:53:28 +02:00
2023-10-25 11:54:15 +02:00
2023-11-08 17:30:41 +01:00
2023-06-21 15:45:38 +02:00
2023-03-22 13:30:00 +01:00
2023-09-19 12:20:10 +02:00
2023-05-17 11:48:11 +02:00
2023-07-27 08:44:09 +02:00
2023-10-25 11:54:19 +02:00
2021-06-18 10:00:06 +02:00
2023-06-21 15:45:38 +02:00
2023-06-21 15:45:38 +02:00