diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2022-07-20 19:50:23 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-07-22 14:06:17 +0300 |
commit | 2455e61b85e9c99af38cd889a7101f1d48b33cb4 (patch) | |
tree | 443f16d5217aca317b8ccf5035d62a76d27459d0 /net/ipv6/exthdrs_core.c | |
parent | e0bb4ab9dfddd872622239f49fb2bd403b70853b (diff) | |
download | linux-2455e61b85e9c99af38cd889a7101f1d48b33cb4.tar.xz |
tcp: Fix a data-race around sysctl_tcp_tso_rtt_log.
While reading sysctl_tcp_tso_rtt_log, it can be changed concurrently.
Thus, we need to add READ_ONCE() to its reader.
Fixes: 65466904b015 ("tcp: adjust TSO packet sizes based on min_rtt")
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/exthdrs_core.c')
0 files changed, 0 insertions, 0 deletions