Thread (13 messages) 13 messages, 4 authors, 2026-06-15

Re: [PATCH v1 net-next 0/5] ipv4: fib: Remove RTNL in fib_net_exit_batch().

From: Eric Dumazet <edumazet@google.com>
Date: 2026-06-15 12:46:46

On Thu, Jun 11, 2026 at 11:32 PM Kuniyuki Iwashima [off-list ref] wrote:
Currently, we flush all IPv4 routes at ->exit_batch() during
netns dismantle, which requires an extra RTNL.

IPv4 routes are not added from the fast path unlike IPv6, so
we can flush routes before default_device_exit_batch().

However, there is implicit ordering between ip_fib_net_exit()
and default_device_exit_batch().

This series detangles it and moves ip_fib_net_exit() to
 ->exit_rtnl() to save the RTNL dance.

The same change for IPv6 will need more work.
For the series:

Reviewed-by: Eric Dumazet <edumazet@google.com>

Thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help