aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/icmp.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2022-07-06 16:40:01 -0700
committerDavid S. Miller <davem@davemloft.net>2022-07-08 12:10:33 +0100
commitdd44f04b9214adb68ef5684ae87a81ba03632250 (patch)
tree851600a7ad0e88be1c4be1a4e6c2baaff72dd84e /net/ipv4/icmp.c
parentnet: Fix data-races around sysctl_mem. (diff)
downloadlinux-dev-dd44f04b9214adb68ef5684ae87a81ba03632250.tar.xz
linux-dev-dd44f04b9214adb68ef5684ae87a81ba03632250.zip
cipso: Fix data-races around sysctl.
While reading cipso sysctl variables, they can be changed concurrently. So, we need to add READ_ONCE() to avoid data-races. Fixes: 446fda4f2682 ("[NetLabel]: CIPSOv4 engine") Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com> Acked-by: Paul Moore <paul@paul-moore.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions