diff options
| author | Kuniyuki Iwashima <[email protected]> | 2022-07-18 17:26:46 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-07-20 09:14:50 +0000 |
| commit | e7d2ef837e14a971a05f60ea08c47f3fed1a36e4 (patch) | |
| tree | b31a9f6cf32b890ab218549be7a0800c59281dbc /net/ipv4/tcp_output.c | |
| parent | tcp: Fix a data-race around sysctl_tcp_early_retrans. (diff) | |
| download | kernel-e7d2ef837e14a971a05f60ea08c47f3fed1a36e4.tar.gz kernel-e7d2ef837e14a971a05f60ea08c47f3fed1a36e4.zip | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions
