summaryrefslogtreecommitdiff
path: root/net/socket.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2022-08-23 10:46:56 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-08-31 17:16:44 +0200
commit181bae6dff66401a2fee4345242ed8a760493a62 (patch)
treea3daa24bf26f3c24c4d58e7950d9c2877c95c829 /net/socket.c
parented14f10e13f6d6ba268a582eb6e996ceec7731d5 (diff)
net: Fix data-races around sysctl_fb_tunnels_only_for_init_net.
[ Upstream commit af67508ea6cbf0e4ea27f8120056fa2efce127dd ] While reading sysctl_fb_tunnels_only_for_init_net, it can be changed concurrently. Thus, we need to add READ_ONCE() to its readers. Fixes: 79134e6ce2c9 ("net: do not create fallback tunnels for non-default namespaces") Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions