Re: [PATCH net] vti: flush x-netns xfrm cache when vti interface is removed

2016-08-08 Thread David Miller
From: Lance Richardson Date: Mon, 8 Aug 2016 18:22:45 -0400 > @@ -392,6 +393,17 @@ static int vti_tunnel_init(struct net_device *dev) > return ip_tunnel_init(dev); > } > > +static void vti_tunnel_uninit(struct net_device *dev) > +{ > + struct ip_tunnel *tunnel = netdev_priv(dev); >

[PATCH net] vti: flush x-netns xfrm cache when vti interface is removed

2016-08-08 Thread Lance Richardson
When executing the script included below, the netns delete operation hangs with the following message (repeated at 10 second intervals): kernel:unregister_netdevice: waiting for lo to become free. Usage count = 1 This occurs because a reference to the lo interface in the "secure" netns is still