summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2023-07-28 15:03:08 +0000
committerDavid S. Miller <davem@davemloft.net>2023-07-29 18:13:40 +0100
commitfe11fdcb4207907d80cda2e73777465d68131e66 (patch)
treec00837ede0a87f094f944719cdca62b9cacc4bc8 /scripts
parent7938cd15436873f649f31cb867bac2d88ca564d0 (diff)
downloadlinux-stable-fe11fdcb4207907d80cda2e73777465d68131e66.tar.gz
linux-stable-fe11fdcb4207907d80cda2e73777465d68131e66.tar.bz2
linux-stable-fe11fdcb4207907d80cda2e73777465d68131e66.zip
net: annotate data-races around sk->sk_reserved_mem
sk_getsockopt() runs locklessly. This means sk->sk_reserved_mem can be read while other threads are changing its value. Add missing annotations where they are needed. Fixes: 2bb2f5fb21b0 ("net: add new socket option SO_RESERVE_MEM") Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Wei Wang <weiwan@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions