summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_hybla.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2022-07-22 21:21:59 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-08-03 13:03:51 +0300
commita610feb170bfb381c090620d30d7ee72505ce001 (patch)
treecf3d61deacec0316cf36ad06997e8779117674af /net/ipv4/tcp_hybla.c
parentb01b4f5b45ff251190be0816e0f83c527e6c179f (diff)
downloadlinux-a610feb170bfb381c090620d30d7ee72505ce001.tar.xz
tcp: Fix data-races around sk_pacing_rate.
[ Upstream commit 59bf6c65a09fff74215517aecffbbdcd67df76e3 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/ipv4/tcp_hybla.c')
0 files changed, 0 insertions, 0 deletions