diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2022-07-22 11:21:59 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-07-25 12:42:09 +0100 |
commit | 59bf6c65a09fff74215517aecffbbdcd67df76e3 (patch) | |
tree | 9523c70c48008640dafe2c1a42a446b03276efa9 /net/mptcp | |
parent | 3e7d18b9dca388940a19cae30bfc1f76dccd8c28 (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 'net/mptcp')
0 files changed, 0 insertions, 0 deletions