neighbour: annotate lockless accesses to n->nud_state
authorEric Dumazet <edumazet@google.com>
Mon, 13 Mar 2023 20:17:31 +0000 (20:17 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 15 Mar 2023 07:37:32 +0000 (00:37 -0700)
commitb071af523579df7341cabf0f16fc661125e9a13f
tree5fa71bee995c95b37e5c7d336ce22bbebb3417a0
parent68a84a127bb07d2a47e95c808520f742c54781c7
neighbour: annotate lockless accesses to n->nud_state

We have many lockless accesses to n->nud_state.

Before adding another one in the following patch,
add annotations to readers and writers.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Reviewed-by: Martin KaFai Lau <martin.lau@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
13 files changed:
drivers/net/vxlan/vxlan_core.c
include/net/neighbour.h
net/bridge/br_arp_nd_proxy.c
net/bridge/br_netfilter_hooks.c
net/core/filter.c
net/core/neighbour.c
net/ipv4/arp.c
net/ipv4/fib_semantics.c
net/ipv4/nexthop.c
net/ipv4/route.c
net/ipv6/ip6_output.c
net/ipv6/ndisc.c
net/ipv6/route.c