aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/ip_tunnel.c
diff options
context:
space:
mode:
authorDavid Ahern <dsa@cumulusnetworks.com>2016-06-14 11:37:21 -0700
committerDavid S. Miller <davem@davemloft.net>2016-06-15 21:39:59 -0700
commit810e530bfa1116079bf94b8c93b99b0208959261 (patch)
tree2c7d8cc68e98a05e5fd841f20ba241b51051dc3f /net/ipv4/ip_tunnel.c
parentMerge tag 'shared' of git://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma (diff)
downloadlinux-dev-810e530bfa1116079bf94b8c93b99b0208959261.tar.xz
linux-dev-810e530bfa1116079bf94b8c93b99b0208959261.zip
net: vrf: Switch dst dev to loopback on device delete
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@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_tunnel.c')
0 files changed, 0 insertions, 0 deletions