]> git.ipfire.org Git - thirdparty/linux.git/commit
net: do not acquire rtnl in fib_seq_sum()
authorEric Dumazet <edumazet@google.com>
Wed, 9 Oct 2024 18:44:05 +0000 (18:44 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 11 Oct 2024 22:35:05 +0000 (15:35 -0700)
commit2698acd6ea4770809af7e65bb8b3250e0a3a807e
tree4c7dfc8f21794b0cbaaf9cee6e2353b47c59dd5b
parent055202b16c589cc82cc8ab9d4316701547fb8853
net: do not acquire rtnl in fib_seq_sum()

After we made sure no fib_seq_read() handlers needs RTNL anymore,
we can remove RTNL from fib_seq_sum().

Note that after RTNL was dropped, fib_seq_sum() result was possibly
outdated anyway.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://patch.msgid.link/20241009184405.3752829-6-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/fib_notifier.h
net/core/fib_notifier.c
net/ipv4/fib_notifier.c
net/ipv4/ipmr.c
net/ipv6/fib6_notifier.c
net/ipv6/ip6mr.c