]> git.baikalelectronics.ru Git - kernel.git/commit
neighbour: switch to standard rcu, instead of rcu_bh
authorEric Dumazet <edumazet@google.com>
Tue, 21 Mar 2023 04:01:14 +0000 (04:01 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Oct 2023 20:00:42 +0000 (22:00 +0200)
commit2b76aad68b308b7ab50fe075a32b16195fb12f1c
tree0a4d95cabebfff94c908eebaf6b23bed9b61404a
parent0526933c10058c69a5a85faaa3825116e68fd465
neighbour: switch to standard rcu, instead of rcu_bh

[ Upstream commit 09eed1192cec1755967f2af8394207acdde579a1 ]

rcu_bh is no longer a win, especially for objects freed
with standard call_rcu().

Switch neighbour code to no longer disable BH when not necessary.

Signed-off-by: Eric Dumazet <edumazet@google.com>
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:
include/net/arp.h
include/net/ndisc.h
include/net/neighbour.h
include/net/nexthop.h
net/core/filter.c
net/core/neighbour.c
net/ipv4/fib_semantics.c
net/ipv4/ip_output.c
net/ipv4/nexthop.c
net/ipv4/route.c
net/ipv6/addrconf.c
net/ipv6/ip6_output.c
net/ipv6/route.c