]> Git Repo - linux.git/commit
ipv6: remove RTNL protection from inet6_dump_fib()
authorEric Dumazet <[email protected]>
Fri, 29 Mar 2024 18:30:53 +0000 (18:30 +0000)
committerJakub Kicinski <[email protected]>
Tue, 2 Apr 2024 04:44:57 +0000 (21:44 -0700)
commit5fc68320c1fb3c7d456ddcae0b4757326a043e6f
treee83ac38a1dbbc3fde68f2e64fcde30757e662d6f
parentedaa34e68c8113f1625244689107567bf5bd1637
ipv6: remove RTNL protection from inet6_dump_fib()

No longer hold RTNL while calling inet6_dump_fib().

Also change return value for a completed dump,
so that NLMSG_DONE can be appended to current skb,
saving one recvmsg() system call.

Signed-off-by: Eric Dumazet <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
net/ipv6/ip6_fib.c
This page took 0.084809 seconds and 4 git commands to generate.