diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2022-07-18 20:26:47 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-07-20 12:14:50 +0300 |
commit | 7c6f2a86ca590d5187a073d987e9599985fb1c7c (patch) | |
tree | cb43cab8bc7fc689fd07c2b71483392ad16a4a46 /include/net/tcp.h | |
parent | e7d2ef837e14a971a05f60ea08c47f3fed1a36e4 (diff) | |
download | linux-7c6f2a86ca590d5187a073d987e9599985fb1c7c.tar.xz |
tcp: Fix a data-race around sysctl_tcp_thin_linear_timeouts.
While reading sysctl_tcp_thin_linear_timeouts, it can be changed
concurrently. Thus, we need to add READ_ONCE() to its reader.
Fixes: 36e31b0af587 ("net: TCP thin linear timeouts")
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tcp.h')
0 files changed, 0 insertions, 0 deletions