[Devel] Re: [PATCH 2/4] net ipv4: Remove unnecessary test for the loopback device from inetdev_destroy

David Miller davem at davemloft.net
Wed Sep 26 22:09:43 PDT 2007


From: ebiederm at xmission.com (Eric W. Biederman)
Date: Wed, 26 Sep 2007 17:55:29 -0600

> 
> Currently we never call unregister_netdev for the loopback device so
> it is impossible for us to reach inetdev_destroy with the loopback
> device.  So the test in inetdev_destroy is unnecessary.
> 
> Further when testing with my network namespace patches removing
> unregistering the loopback device and calling inetdev_destroy works
> fine so there appears to be no reason for avoiding unregistering the
> loopback device.
> 
> Signed-off-by: Eric W. Biederman <ebiederm at xmission.com>

Fair enough, applied to net-2.6.24
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list