aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/genalloc.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2022-07-11 17:15:30 -0700
committerDavid S. Miller <davem@davemloft.net>2022-07-13 12:56:49 +0100
commit4785a66702f086cf2ea84bdbe6ec921f274bd9f2 (patch)
tree28f36a4bf5f7825aacde839ad3286e1c1cec8a84 /lib/genalloc.c
parentraw: Fix a data-race around sysctl_raw_l3mdev_accept. (diff)
downloadwireguard-linux-4785a66702f086cf2ea84bdbe6ec921f274bd9f2.tar.xz
wireguard-linux-4785a66702f086cf2ea84bdbe6ec921f274bd9f2.zip
tcp: Fix data-races around sysctl_tcp_ecn.
While reading sysctl_tcp_ecn, it can be changed concurrently. Thus, we need to add READ_ONCE() to its readers. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions