On Tue, Feb 15, 2022 at 2:53 PM Jakub Kicinski [off-list ref] wrote:
Sprinkle for each loops to allow netdevices to be unregistered
out of order, as their refs are released.
This prevents problems caused by dependencies between netdevs
which want to release references in their ->priv_destructor.
See commit d6ff94afd90b ("vlan: move dev_put into vlan_dev_uninit")
for example.
Eric has removed the only known ordering requirement in
commit c002496babfd ("Merge branch 'ipv6-loopback'")
so let's try this and see if anything explodes...
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
---
SGTM, thanks !
Reviewed-by: Eric Dumazet <edumazet@google.com>