ipv6: annotate data-races around cnf.forwarding
authorEric Dumazet <edumazet@google.com>
Wed, 28 Feb 2024 13:54:30 +0000 (13:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Mar 2024 08:42:31 +0000 (08:42 +0000)
commit32f754176e889cdfe989ef08ece19859427755df
treeaf0f0215d2574da45535a83add3e4336d5c16d59
parente0bb2675fea2783c45bb95d74f00c55156720863
ipv6: annotate data-races around cnf.forwarding

idev->cnf.forwarding and net->ipv6.devconf_all->forwarding
might be read locklessly, add appropriate READ_ONCE()
and WRITE_ONCE() annotations.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc_mbim.c
include/net/ipv6.h
net/core/filter.c
net/ipv6/addrconf.c
net/ipv6/ip6_output.c
net/ipv6/ndisc.c
net/ipv6/route.c