Re: [PATCH net-next] net: vrf: Switch dst dev to loopback on device delete

2016-06-15 Thread David Miller
From: David Ahern Date: Tue, 14 Jun 2016 11:37:21 -0700 > Attempting to delete a VRF device with a socket bound to it can stall: > > unregister_netdevice: waiting for red to become free. Usage count = 1 > > The unregister is waiting for the dst to be released and with it > references to the v

[PATCH net-next] net: vrf: Switch dst dev to loopback on device delete

2016-06-14 Thread David Ahern
Attempting to delete a VRF device with a socket bound to it can stall: unregister_netdevice: waiting for red to become free. Usage count = 1 The unregister is waiting for the dst to be released and with it references to the vrf device. Similar to dst_ifdown switch the dst dev to loopback on del