diff options
author | Eric Dumazet <edumazet@google.com> | 2023-07-28 15:03:12 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-07-29 18:13:41 +0100 |
commit | 285975dd674258ccb33e77a1803e8f2015e67105 (patch) | |
tree | f7a2ba431a1d454a0bc3440efb4cbad46959058e /net/unix/af_unix.c | |
parent | e6d12bdb435d23ff6c1890c852d85408a2f496ee (diff) | |
download | linux-285975dd674258ccb33e77a1803e8f2015e67105.tar.gz linux-285975dd674258ccb33e77a1803e8f2015e67105.tar.bz2 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