diff options
author | 2022-07-11 17:15:21 -0700 | |
---|---|---|
committer | 2022-07-13 12:56:49 +0100 | |
commit | 6f605b57f3782114e330e108ce1903ede22ec675 (patch) | |
tree | 762f1a37b0bd207f332e9dd4ff310a8319da0702 /include/net/raw.h | |
parent | sysctl: Fix data-races in proc_dointvec_ms_jiffies(). (diff) | |
download | linux-rng-6f605b57f3782114e330e108ce1903ede22ec675.tar.xz linux-rng-6f605b57f3782114e330e108ce1903ede22ec675.zip |
tcp: Fix a data-race around sysctl_max_tw_buckets.
While reading sysctl_max_tw_buckets, it can be changed concurrently.
Thus, we need to add READ_ONCE() to its reader.
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 'include/net/raw.h')
0 files changed, 0 insertions, 0 deletions