summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp.c
diff options
context:
space:
mode:
authorJason Xing <kernelxing@tencent.com>2024-03-08 14:25:03 +0300
committerDavid S. Miller <davem@davemloft.net>2024-03-11 13:37:40 +0300
commit9eb430d40e449640122b0b33ace1f33e793ecc5f (patch)
tree67d61ee4f1d892e408cdce3698a574e3bac29a81 /net/ipv4/tcp.c
parent900b2801bf250affe410193a0d27a2ba9f2db4e5 (diff)
downloadlinux-9eb430d40e449640122b0b33ace1f33e793ecc5f.tar.xz
mptcp: annotate a data-race around sysctl_tcp_wmem[0]
It's possible that writer and the reader can manipulate the same sysctl knob concurrently. Using READ_ONCE() to prevent reading an old value. Signed-off-by: Jason Xing <kernelxing@tencent.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Mat Martineau <martineau@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp.c')
0 files changed, 0 insertions, 0 deletions