diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2022-07-18 20:26:52 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-07-29 18:28:13 +0300 |
commit | 50723e2f24d31331fe49f177f774aaddb6bc7261 (patch) | |
tree | 14c0bae08f936b9000223569f40dca38c886829a /net/rose | |
parent | d7d12eab3ba0edde63f7d95a03adbae8a22b5ff8 (diff) | |
download | linux-50723e2f24d31331fe49f177f774aaddb6bc7261.tar.xz |
tcp: Fix a data-race around sysctl_tcp_abort_on_overflow.
[ Upstream commit 2d17d9c7382327d00aeaea35af44e9b26d53206e ]
While reading sysctl_tcp_abort_on_overflow, 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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/rose')
0 files changed, 0 insertions, 0 deletions