summaryrefslogtreecommitdiff
path: root/mm/mempolicy.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2022-07-18 20:26:53 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-07-29 18:14:16 +0300
commit50a1d3d097503a90cf84ebe120afcde37e9c33b3 (patch)
tree8f503ec38d24de77bb11477e6b7ebc884ef7f410 /mm/mempolicy.c
parentc64b99819de44c83dc04960a98c76eb552a7b841 (diff)
downloadlinux-50a1d3d097503a90cf84ebe120afcde37e9c33b3.tar.xz
tcp: Fix data-races around sysctl_tcp_max_reordering.
[ Upstream commit a11e5b3e7a59fde1a90b0eaeaa82320495cf8cae ] While reading sysctl_tcp_max_reordering, it can be changed concurrently. Thus, we need to add READ_ONCE() to its readers. Fixes: dca145ffaa8d ("tcp: allow for bigger reordering level") 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 'mm/mempolicy.c')
0 files changed, 0 insertions, 0 deletions