diff options
author | 2023-07-28 15:03:12 +0000 | |
---|---|---|
committer | 2023-07-29 18:13:41 +0100 | |
commit | 285975dd674258ccb33e77a1803e8f2015e67105 (patch) | |
tree | f7a2ba431a1d454a0bc3440efb4cbad46959058e /net/unix/af_unix.c | |
parent | net: add missing READ_ONCE(sk->sk_rcvlowat) annotation (diff) | |
download | wireguard-linux-285975dd674258ccb33e77a1803e8f2015e67105.tar.xz wireguard-linux-285975dd674258ccb33e77a1803e8f2015e67105.zip |
net: annotate data-races around sk->sk_{rcv|snd}timeo
sk_getsockopt() runs without locks, we must add annotations
to sk->sk_rcvtimeo and sk->sk_sndtimeo.
In the future we might allow fetching these fields before
we lock the socket in TCP fast path.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions