diff options
author | Eric Dumazet <edumazet@google.com> | 2023-07-28 15:03:16 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-07-29 18:13:41 +0100 |
commit | 11695c6e966b0ec7ed1d16777d294cef865a5c91 (patch) | |
tree | b02401c8e049b0cd7d780be6505a27ea1e5e9707 /net/sunrpc | |
parent | 3c5b4d69c358a9275a8de98f87caf6eda644b086 (diff) | |
download | linux-11695c6e966b0ec7ed1d16777d294cef865a5c91.tar.gz linux-11695c6e966b0ec7ed1d16777d294cef865a5c91.tar.bz2 linux-11695c6e966b0ec7ed1d16777d294cef865a5c91.zip |
net: add missing data-race annotations around sk->sk_peek_off
sk_getsockopt() runs locklessly, thus we need to annotate the read
of sk->sk_peek_off.
While we are at it, add corresponding annotations to sk_set_peek_off()
and unix_set_peek_off().
Fixes: b9bb53f3836f ("sock: convert sk_peek_offset functions to WRITE_ONCE")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions