David Miller <davem@davemloft.net> writes:
Well this is a weird way to get to this part of the conversation.
In a secondary network namespace the current implementation
registers the loopback device before all other network devices
in a network namespace and it unregisters the loopback device
after all other network devices.
So we don't endanger the current scheme of pointing any existing
reference to the loopback device. In fact the current ipv6 addrconf_cleanup
largely does the same thing.
Unregistering the loopback device is definitely a case where we need
to tread very carefully.
Bug we absolutely need to do all of our cleanup for a network
namespace went it goes away and that includes removing the per network
namespace copy of the loopback device.
Eric
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html