aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2023-03-15 20:57:44 +0000
committerDavid S. Miller <[email protected]>2023-03-17 08:25:05 +0000
commite13ec3da05d130f0d10da8e1fbe1be26dcdb0e27 (patch)
tree87c774f8a05afcf7ae1993b2fb1b2416bbabc922 /net/unix/af_unix.c
parentnet: annotate lockless accesses to sk->sk_err_soft (diff)
downloadkernel-e13ec3da05d130f0d10da8e1fbe1be26dcdb0e27.tar.gz
kernel-e13ec3da05d130f0d10da8e1fbe1be26dcdb0e27.zip
tcp: annotate lockless access to sk->sk_err
tcp_poll() reads sk->sk_err without socket lock held/owned. We should used READ_ONCE() here, and update writers to use WRITE_ONCE(). Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions