aboutsummaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <[email protected]>2022-07-18 10:26:47 -0700
committerDavid S. Miller <[email protected]>2022-07-20 10:14:50 +0100
commit7c6f2a86ca590d5187a073d987e9599985fb1c7c (patch)
treecb43cab8bc7fc689fd07c2b71483392ad16a4a46 /net/ipv4/tcp_output.c
parente7d2ef837e14a971a05f60ea08c47f3fed1a36e4 (diff)
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 <[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