diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2022-07-20 09:50:17 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-07-22 12:06:17 +0100 |
commit | ab1ba21b523ab496b1a4a8e396333b24b0a18f9a (patch) | |
tree | 4d454799a04c360beb15452bb5f1f0a1dea08b8e /net/kcm | |
parent | 8499a2454d9e8a55ce616ede9f9580f36fd5b0f3 (diff) | |
download | linux-ab1ba21b523ab496b1a4a8e396333b24b0a18f9a.tar.bz2 |
tcp: Fix data-races around sysctl_tcp_no_ssthresh_metrics_save.
While reading sysctl_tcp_no_ssthresh_metrics_save, it can be changed
concurrently. Thus, we need to add READ_ONCE() to its readers.
Fixes: 65e6d90168f3 ("net-tcp: Disable TCP ssthresh metrics cache by default")
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/kcm')
0 files changed, 0 insertions, 0 deletions