linux-stable/net/packet
Eric Dumazet 12d4ba1814 net: annotate data-races around sk->sk_priority
[ Upstream commit 8bf43be799 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-08-11 12:08:15 +02:00
..
af_packet.c net: annotate data-races around sk->sk_priority 2023-08-11 12:08:15 +02:00
diag.c af_packet: Fix data-races of pkt_sk(sk)->num. 2023-06-09 10:34:01 +02:00
internal.h net/packet: convert po->auxdata to an atomic flag 2023-05-11 23:03:18 +09: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