summaryrefslogtreecommitdiff
path: root/net/core/dev.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2022-08-23 20:46:54 +0300
committerDavid S. Miller <davem@davemloft.net>2022-08-24 15:46:58 +0300
commit657b991afb89d25fe6c4783b1b75a8ad4563670d (patch)
treeae4bf05b7ffa2902b68f902877bb3116fcc58b19 /net/core/dev.c
parent2e0c42374ee32e72948559d2ae2f7ba3dc6b977c (diff)
downloadlinux-657b991afb89d25fe6c4783b1b75a8ad4563670d.tar.xz
net: Fix data-races around sysctl_max_skb_frags.
While reading sysctl_max_skb_frags, it can be changed concurrently. Thus, we need to add READ_ONCE() to its readers. Fixes: 5f74f82ea34c ("net:Add sysctl_max_skb_frags") Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions