summaryrefslogtreecommitdiff
path: root/net/ipv4/syncookies.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2022-07-15 20:17:46 +0300
committerDavid S. Miller <davem@davemloft.net>2022-07-18 14:21:54 +0300
commit20a3b1c0f603e8c55c3396abd12dfcfb523e4d3c (patch)
treede4a9c1b28887f2a09cdbb7b087a8f1005b51bde /net/ipv4/syncookies.c
parentf2f316e287e6c2e3a1c5bab8d9b77ee03daa0463 (diff)
downloadlinux-20a3b1c0f603e8c55c3396abd12dfcfb523e4d3c.tar.xz
tcp: Fix data-races around sysctl_tcp_syn(ack)?_retries.
While reading sysctl_tcp_syn(ack)?_retries, 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/syncookies.c')
0 files changed, 0 insertions, 0 deletions