Eric Dumazet bcbc1b1de8 udp: move udp->no_check6_rx to udp->udp_flags
syzbot reported that udp->no_check6_rx can be read locklessly.
Use one atomic bit from udp->udp_flags.

Fixes: 1c19448c9ba6 ("net: Make enabling of zero UDP6 csums more restrictive")
Reported-by: syzbot <syzkaller@googlegroups.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2023-09-14 16:16:36 +02:00
..
2023-05-31 13:06:57 +02:00
2023-03-31 21:37:06 -07:00
2023-04-13 16:43:38 -07:00
2023-01-26 10:52:18 +01:00
2022-09-20 10:21:49 -07:00
2022-12-20 03:13:45 +01:00
2023-09-07 18:33:07 -07:00
2022-11-16 09:43:35 +00:00
2023-08-29 17:39:15 -07:00