aboutsummaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorKuniyuki Iwashima2022-07-22 11:21:59 -0700
committerDavid S. Miller2022-07-25 12:42:09 +0100
commit59bf6c65a09fff74215517aecffbbdcd67df76e3 (patch)
tree9523c70c48008640dafe2c1a42a446b03276efa9 /include/net
parent3e7d18b9dca388940a19cae30bfc1f76dccd8c28 (diff)
tcp: Fix data-races around sk_pacing_rate.
While reading sysctl_tcp_pacing_(ss|ca)_ratio, they can be changed concurrently. Thus, we need to add READ_ONCE() to their readers. Fixes: 43e122b014c9 ("tcp: refine pacing rate determination") Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions