aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2023-05-09 17:31:31 +0000
committerJakub Kicinski <[email protected]>2023-05-11 02:06:49 +0000
commit5bca1d081f44c9443e61841842ce4e9179d327b6 (patch)
tree6fec4fcf2fe9fa1d406551fd8097c29a582412f6 /net/unix/af_unix.c
parentnet: mscc: ocelot: fix stat counter register values (diff)
downloadkernel-5bca1d081f44c9443e61841842ce4e9179d327b6.tar.gz
kernel-5bca1d081f44c9443e61841842ce4e9179d327b6.zip
net: datagram: fix data-races in datagram_poll()
datagram_poll() runs locklessly, we should add READ_ONCE() annotations while reading sk->sk_err, sk->sk_shutdown and sk->sk_state. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Eric Dumazet <[email protected]> Reviewed-by: Kuniyuki Iwashima <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions