diff options
author | Eric Dumazet <edumazet@google.com> | 2023-07-28 18:03:08 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-07-29 20:13:40 +0300 |
commit | fe11fdcb4207907d80cda2e73777465d68131e66 (patch) | |
tree | c00837ede0a87f094f944719cdca62b9cacc4bc8 /scripts/gdb/linux/utils.py | |
parent | 7938cd15436873f649f31cb867bac2d88ca564d0 (diff) | |
download | linux-fe11fdcb4207907d80cda2e73777465d68131e66.tar.xz |
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/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions