linux-next/net/packet
Eric Dumazet ee5675ecdf net/packet: convert po->origdev to an atomic flag
syzbot/KCAN reported that po->origdev can be read
while another thread is changing its value.

We can avoid this splat by converting this field
to an actual bit.

Following patches will convert remaining 1bit fields.

Fixes: 80feaacb8a ("[AF_PACKET]: Add option to return orig_dev to userspace.")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: syzbot <syzkaller@googlegroups.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-03-17 08:52:05 +00:00
..
af_packet.c net/packet: convert po->origdev to an atomic flag 2023-03-17 08:52:05 +00:00
diag.c net/packet: convert po->origdev to an atomic flag 2023-03-17 08:52:05 +00:00
internal.h net/packet: convert po->origdev to an atomic flag 2023-03-17 08:52:05 +00: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