diff options
| author | Kuniyuki Iwashima <[email protected]> | 2022-07-15 17:17:47 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-07-18 11:21:54 +0000 |
| commit | f2e383b5bb6bbc60a0b94b87b3e49a2b1aefd11e (patch) | |
| tree | d086482c4486c23c9ea6ebeb523b1251872086d4 /net/ipv4/tcp_output.c | |
| parent | tcp: Fix data-races around sysctl_tcp_syn(ack)?_retries. (diff) | |
| download | kernel-f2e383b5bb6bbc60a0b94b87b3e49a2b1aefd11e.tar.gz kernel-f2e383b5bb6bbc60a0b94b87b3e49a2b1aefd11e.zip | |
tcp: Fix data-races around sysctl_tcp_syncookies.
While reading sysctl_tcp_syncookies, it can be changed concurrently.
Thus, we need to add READ_ONCE() to its readers.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Kuniyuki Iwashima <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions
