summaryrefslogtreecommitdiffstats
path: root/include/net/tcp.h
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2022-07-15 10:17:44 -0700
committerDavid S. Miller <davem@davemloft.net>2022-07-18 12:21:54 +0100
commit8ebcc62c738f68688ee7c6fec2efe5bc6d3d7e60 (patch)
tree4c8bd4448184cb1cff4998270a0d4819b972f15d /include/net/tcp.h
parent6ae0f2e553737b8cce49a1372573c81130ffa80e (diff)
downloadlinux-stable-8ebcc62c738f68688ee7c6fec2efe5bc6d3d7e60.tar.gz
linux-stable-8ebcc62c738f68688ee7c6fec2efe5bc6d3d7e60.tar.bz2
linux-stable-8ebcc62c738f68688ee7c6fec2efe5bc6d3d7e60.zip
igmp: Fix data-races around sysctl_igmp_qrv.
While reading sysctl_igmp_qrv, it can be changed concurrently. Thus, we need to add READ_ONCE() to its readers. This test can be packed into a helper, so such changes will be in the follow-up series after net is merged into net-next. qrv ?: READ_ONCE(net->ipv4.sysctl_igmp_qrv); Fixes: a9fe8e29945d ("ipv4: implement igmp_qrv sysctl to tune igmp robustness variable") Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tcp.h')
0 files changed, 0 insertions, 0 deletions