Skip to content

net: allow out-of-order netdev unregistration

Xin Long requested to merge lxin.redhat/centos-stream-9:bz2180612 into main

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2180612 Tested: compile only

Patch 1-4 are the dependences commit c002496babfd ("Merge branch 'ipv6-loopback'") mentioned in Patch 7, and Patch 5 is a follow-up for this dependence.

Patch 6-7 are the real fixes, and Patch 8-11 are the follow-ups of them.

Note that I didn't backport commit 8a4fc54b07d7 ("net: get rid of rtnl_lock_unregistering()"), as it's just a cleanup and depends on commit ee403248fa6d ("net: remove default_device_exit()"), which is from a big patchset. I will just leave it to the backport of (struct pernet_operations)->exit() replacement for some devices.

Signed-off-by: Xin Long lxin@redhat.com

Edited by Xin Long

Merge request reports