diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2022-07-18 10:26:53 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-07-29 17:10:34 +0200 |
commit | 5e38cee24f19d19280c68f1ac8bf6790d607f60a (patch) | |
tree | d66d43aa13df4f03aa6da9060e0ece07c88a8dcc /net/bluetooth | |
parent | f7b3610619ec123f36b14bacad540d59a5a76526 (diff) | |
download | linux-stable-5e38cee24f19d19280c68f1ac8bf6790d607f60a.tar.gz linux-stable-5e38cee24f19d19280c68f1ac8bf6790d607f60a.tar.bz2 linux-stable-5e38cee24f19d19280c68f1ac8bf6790d607f60a.zip |
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/bluetooth')
0 files changed, 0 insertions, 0 deletions