]> git.ipfire.org Git - thirdparty/linux.git/commit
ipv6: annotate data-races around cnf.hop_limit
authorEric Dumazet <edumazet@google.com>
Wed, 28 Feb 2024 13:54:29 +0000 (13:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Mar 2024 08:42:31 +0000 (08:42 +0000)
commite0bb2675fea2783c45bb95d74f00c55156720863
tree0f7a1c6c8a215727d5dfd5ccc5c86fd9ca717b31
parente7135f484994494a38071e3653a83d21d305f50c
ipv6: annotate data-races around cnf.hop_limit

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

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Florian Westphal <fw@strlen.de> # for netfilter parts
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/flower/action.c
net/ipv6/ipv6_sockglue.c
net/ipv6/ndisc.c
net/ipv6/netfilter/nf_reject_ipv6.c
net/ipv6/output_core.c
net/netfilter/nf_synproxy_core.c