linux-stable/net/packet
Eric Dumazet 8bf43be799 net: annotate data-races around sk->sk_priority
sk_getsockopt() runs locklessly. This means sk->sk_priority
can be read while other threads are changing its value.

Other reads also happen without socket lock being held.

Add missing annotations where needed.

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-07-29 18:13:41 +01:00
..
af_packet.c net: annotate data-races around sk->sk_priority 2023-07-29 18:13:41 +01:00
diag.c af_packet: Fix data-races of pkt_sk(sk)->num. 2023-05-25 21:03:23 -07:00
internal.h net/packet: support mergeable feature of virtio 2023-04-21 12:01:58 +01:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00