summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2022-07-06 16:39:59 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-07-21 21:09:27 +0200
commitb5a8ebbc11df5047f9bef7bf6edb9d02f7d9baff (patch)
treeefdab114e067b59f762dbb0939409c09bba90804 /include
parent02972db86fb89dbe4761374f672fdc3c3884eab3 (diff)
inetpeer: Fix data-races around sysctl.
[ Upstream commit 3d32edf1f3c38d3301f6434e56316f293466d7fb ] While reading inetpeer sysctl variables, they can be changed concurrently. So, we need to add READ_ONCE() to avoid data-races. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") 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 'include')
0 files changed, 0 insertions, 0 deletions