diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2022-07-15 10:17:49 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-07-18 12:21:54 +0100 |
commit | 46778cd16e6a5ad1b2e3a91f6c057c907379418e (patch) | |
tree | e2e396c1da88da8fad7300c3615aee565d6b8a26 /include/net/tcp.h | |
parent | tcp: Fix data-races around sysctl_tcp_migrate_req. (diff) | |
download | linux-dev-46778cd16e6a5ad1b2e3a91f6c057c907379418e.tar.xz linux-dev-46778cd16e6a5ad1b2e3a91f6c057c907379418e.zip |
tcp: Fix data-races around sysctl_tcp_reordering.
While reading sysctl_tcp_reordering, 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 <kuniyu@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tcp.h')
0 files changed, 0 insertions, 0 deletions