diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2022-07-22 21:21:59 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-07-25 14:42:09 +0300 |
commit | 59bf6c65a09fff74215517aecffbbdcd67df76e3 (patch) | |
tree | 9523c70c48008640dafe2c1a42a446b03276efa9 /include/net/sock.h | |
parent | 3e7d18b9dca388940a19cae30bfc1f76dccd8c28 (diff) | |
download | linux-59bf6c65a09fff74215517aecffbbdcd67df76e3.tar.xz |
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/sock.h')
0 files changed, 0 insertions, 0 deletions