aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/core/dev.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2022-08-23 10:46:52 -0700
committerDavid S. Miller <davem@davemloft.net>2022-08-24 13:46:58 +0100
commite59ef36f0795696ab229569c153936bfd068d21c (patch)
treeda6e3945bf04821fd96942826e5d04c2144640f6 /net/core/dev.c
parentnet: Fix a data-race around sysctl_net_busy_poll. (diff)
downloadwireguard-linux-e59ef36f0795696ab229569c153936bfd068d21c.tar.xz
wireguard-linux-e59ef36f0795696ab229569c153936bfd068d21c.zip
net: Fix a data-race around sysctl_net_busy_read.
While reading sysctl_net_busy_read, it can be changed concurrently. Thus, we need to add READ_ONCE() to its reader. Fixes: 2d48d67fa8cd ("net: poll/select low latency socket support") Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions