summaryrefslogtreecommitdiff
path: root/include/net/inet_sock.h
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2022-07-13 23:51:54 +0300
committerDavid S. Miller <davem@davemloft.net>2022-07-15 13:49:55 +0300
commit7bf9e18d9a5e99e3c83482973557e9f047b051e7 (patch)
tree7f30b756947599df61a8d23ca811eeafc3e35745 /include/net/inet_sock.h
parent60c158dc7b1f0558f6cadd5b50d0386da0000d50 (diff)
downloadlinux-7bf9e18d9a5e99e3c83482973557e9f047b051e7.tar.xz
ip: Fix data-races around sysctl_ip_fwd_update_priority.
While reading sysctl_ip_fwd_update_priority, it can be changed concurrently. Thus, we need to add READ_ONCE() to its readers. Fixes: 432e05d32892 ("net: ipv4: Control SKB reprioritization after forwarding") Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/inet_sock.h')
0 files changed, 0 insertions, 0 deletions