aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_ipv4.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <[email protected]>2022-07-22 18:22:03 +0000
committerDavid S. Miller <[email protected]>2022-07-25 11:42:10 +0000
commit79f55473bfc8ac51bd6572929a679eeb4da22251 (patch)
tree59c15ef3e5e567013c634ac80b9d6df898bed6d8 /net/ipv4/tcp_ipv4.c
parenttcp: Fix a data-race around sysctl_tcp_comp_sack_slack_ns. (diff)
downloadkernel-79f55473bfc8ac51bd6572929a679eeb4da22251.tar.gz
kernel-79f55473bfc8ac51bd6572929a679eeb4da22251.zip
tcp: Fix a data-race around sysctl_tcp_comp_sack_nr.
While reading sysctl_tcp_comp_sack_nr, it can be changed concurrently. Thus, we need to add READ_ONCE() to its reader. Fixes: 9c21d2fc41c0 ("tcp: add tcp_comp_sack_nr sysctl") Signed-off-by: Kuniyuki Iwashima <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
0 files changed, 0 insertions, 0 deletions