On Tue, 24 Oct 2023 13:19:35 -0600 David Ahern wrote:
quoted
quoted
blackhole_netdev might be a better choice than loopback
With loopback we still keep it per netns, and still accessible
via netlink.
and if the namespace and loopback device get deleted?
For now we're back to printing the warning to dmesg.
My instinct is that such double-orphans (both netdev and netns
disappeared) should be reported via a separate netlink command
accessible in init_net only. But that's for later, I hope falling
back to the print is good enough for now.