diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2022-07-18 20:26:53 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-07-29 18:28:13 +0300 |
commit | 46deb91ac8a790286ad6d24cf92e7ab0ab2582bb (patch) | |
tree | c36fb909811076d8562144f6dfed31254a27a652 /net/rose | |
parent | 50723e2f24d31331fe49f177f774aaddb6bc7261 (diff) | |
download | linux-46deb91ac8a790286ad6d24cf92e7ab0ab2582bb.tar.xz |
tcp: Fix data-races around sysctl_tcp_max_reordering.
[ Upstream commit a11e5b3e7a59fde1a90b0eaeaa82320495cf8cae ]
While reading sysctl_tcp_max_reordering, it can be changed
concurrently. Thus, we need to add READ_ONCE() to its readers.
Fixes: dca145ffaa8d ("tcp: allow for bigger reordering level")
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/rose')
0 files changed, 0 insertions, 0 deletions