diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2022-07-18 10:26:47 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-07-20 10:14:50 +0100 |
commit | 7c6f2a86ca590d5187a073d987e9599985fb1c7c (patch) | |
tree | cb43cab8bc7fc689fd07c2b71483392ad16a4a46 /lib/mpi/mpi-add.c | |
parent | e7d2ef837e14a971a05f60ea08c47f3fed1a36e4 (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 <kuniyu@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions