diff options
| author | Kuniyuki Iwashima <[email protected]> | 2022-07-15 17:17:53 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-07-18 11:21:54 +0000 |
| commit | 79539f34743d3e14cc1fa6577d326a82cc64d62f (patch) | |
| tree | 32fd7af252832721da464324247a540c9dbb79c0 /net/ipv4/tcp_fastopen.c | |
| parent | tcp: Fix a data-race around sysctl_tcp_tw_reuse. (diff) | |
| download | kernel-79539f34743d3e14cc1fa6577d326a82cc64d62f.tar.gz kernel-79539f34743d3e14cc1fa6577d326a82cc64d62f.zip | |
tcp: Fix data-races around sysctl_max_syn_backlog.
While reading sysctl_max_syn_backlog, 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_fastopen.c')
0 files changed, 0 insertions, 0 deletions
