Thread (16 messages) 16 messages, 5 authors, 2016-09-10

Re: [PATCH] net_namespace: fixed net_device reference leak

flat view

From: Eric Dumazet <hidden>
Date: 2016-09-08 22:16:55

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help