From: Vladimir Oltean <olte...@gmail.com> Date: Mon, 13 Jul 2020 20:42:27 +0300
> One difference from VLAN is that in that case, the entire > register_vlan_device() function runs under RTNL. > When those bugs that you talk about are found, who starts using the > network interface too early? User space or someone else? Would RTNL be > enough to avoid that? As soon as the notifier is emitted by register_netdev(), userspace like components such as NetworkManager can and do ifup the device immediately.