diff options
| author | Eric Dumazet <[email protected]> | 2023-07-28 15:03:12 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2023-07-29 17:13:41 +0000 |
| commit | 285975dd674258ccb33e77a1803e8f2015e67105 (patch) | |
| tree | f7a2ba431a1d454a0bc3440efb4cbad46959058e /net/unix/af_unix.c | |
| parent | net: add missing READ_ONCE(sk->sk_rcvlowat) annotation (diff) | |
| download | kernel-285975dd674258ccb33e77a1803e8f2015e67105.tar.gz kernel-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 <[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
