[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Wed, 15 Jun 2016 21:40:15 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dsa@...ulusnetworks.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] net: vrf: Switch dst dev to loopback on
device delete
From: David Ahern <dsa@...ulusnetworks.com>
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 vrf device. Similar to dst_ifdown switch the dst
> dev to loopback on delete for all of the dst's for the vrf device
> and release the references to the vrf device.
>
> Fixes: 193125dbd8eb2 ("net: Introduce VRF device driver")
> Fixes: 35402e3136634 ("net: Add IPv6 support to VRF device")
> Signed-off-by: David Ahern <dsa@...ulusnetworks.com>
Applied.
Powered by blists - more mailing lists