linux-stable/net/packet
Eric Dumazet 382310d9c8 net/packet: convert po->auxdata to an atomic flag
[ Upstream commit fd53c297aa ]

po->auxdata can be read while another thread
is changing its value, potentially raising KCSAN splat.

Convert it to PACKET_SOCK_AUXDATA flag.

Fixes: 8dc4194474 ("[PACKET]: Add optional checksum computation for recvmsg")
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-05-11 23:03:18 +09:00
..
af_packet.c net/packet: convert po->auxdata to an atomic flag 2023-05-11 23:03:18 +09:00
diag.c net/packet: convert po->auxdata to an atomic flag 2023-05-11 23:03:18 +09: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