diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2022-07-18 20:26:46 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-07-20 12:14:50 +0300 |
commit | e7d2ef837e14a971a05f60ea08c47f3fed1a36e4 (patch) | |
tree | b31a9f6cf32b890ab218549be7a0800c59281dbc /net/tipc | |
parent | 52e65865deb6a36718a463030500f16530eaab74 (diff) | |
download | linux-e7d2ef837e14a971a05f60ea08c47f3fed1a36e4.tar.xz |
tcp: Fix data-races around sysctl_tcp_recovery.
While reading sysctl_tcp_recovery, it can be changed concurrently.
Thus, we need to add READ_ONCE() to its readers.
Fixes: 4f41b1c58a32 ("tcp: use RACK to detect losses")
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions