summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2022-07-15 10:17:45 -0700
committerDavid S. Miller <davem@davemloft.net>2022-07-18 12:21:54 +0100
commitf2f316e287e6c2e3a1c5bab8d9b77ee03daa0463 (patch)
tree409c93d609b8093922db66f191223fd3d408d070 /net/ipv4/tcp.c
parent8ebcc62c738f68688ee7c6fec2efe5bc6d3d7e60 (diff)
downloadlinux-f2f316e287e6c2e3a1c5bab8d9b77ee03daa0463.tar.gz
linux-f2f316e287e6c2e3a1c5bab8d9b77ee03daa0463.tar.bz2
linux-f2f316e287e6c2e3a1c5bab8d9b77ee03daa0463.zip
tcp: Fix data-races around keepalive sysctl knobs.
While reading sysctl_tcp_keepalive_(time|probes|intvl), they can be changed concurrently. Thus, we need to add READ_ONCE() to their readers. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp.c')
0 files changed, 0 insertions, 0 deletions