]> git.baikalelectronics.ru Git - kernel.git/commit
neighbour: annotate lockless accesses to n->nud_state
authorEric Dumazet <edumazet@google.com>
Mon, 13 Mar 2023 20:17:31 +0000 (20:17 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Oct 2023 20:00:42 +0000 (22:00 +0200)
commit0526933c10058c69a5a85faaa3825116e68fd465
treec4ad7d1dd6f7c163dc3b2497fbe464567532563b
parent8904d8848b31038b8ede40a0247a6682b0133f7a
neighbour: annotate lockless accesses to n->nud_state

[ Upstream commit b071af523579df7341cabf0f16fc661125e9a13f ]

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>
Stable-dep-of: 5baa0433a15e ("neighbour: fix data-races around n->output")
Signed-off-by: Sasha Levin <sashal@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