aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2022-08-23 10:46:49 -0700
committerDavid S. Miller <davem@davemloft.net>2022-08-24 13:46:57 +0100
commit7de6d09f51917c829af2b835aba8bb5040f8e86a (patch)
tree89c4f938d7771f6a35cc25e7e2c3db1d6566f293 /lib/mpi/mpi-sub-ui.c
parentratelimit: Fix data-races in ___ratelimit(). (diff)
downloadwireguard-linux-7de6d09f51917c829af2b835aba8bb5040f8e86a.tar.xz
wireguard-linux-7de6d09f51917c829af2b835aba8bb5040f8e86a.zip
net: Fix data-races around sysctl_optmem_max.
While reading sysctl_optmem_max, 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/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions