On Thu, 2016-09-08 at 15:12 -0700, Jojy Varghese wrote: > Hi Eric/Lance > > Thanks for taking time to look at the patch. The problem in dst.c's > "dst_ifdown" is that it will never do an actual "dev_put" on the > loopback net device. This results in the loopback net device to be > alive even when the dst goes away.
Sure, but the dst themselves should disappear, and thus release their dst->dev reference. Something is missing. loopback device is only used when we remove one device from the system, but namespace (and loopback device) is still around.