]> git.baikalelectronics.ru Git - kernel.git/commit
ip_tunnel: Remove double unregister of the fallback device
authorSteffen Klassert <steffen.klassert@secunet.com>
Tue, 1 Oct 2013 09:37:37 +0000 (11:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Oct 2013 16:42:16 +0000 (12:42 -0400)
commit3364fc8b6ca9e32d5cf8c3e6af03f43b77fc4f7e
treea96c7846cb54cc09410be45bada703e84be9d5fc
parentdf3496a170f510d7cf3b8ee505bbc75e305d7300
ip_tunnel: Remove double unregister of the fallback device

When queueing the netdevices for removal, we queue the
fallback device twice in ip_tunnel_destroy(). The first
time when we queue all netdevices in the namespace and
then again explicitly. Fix this by removing the explicit
queueing of the fallback device.

Bug was introduced when network namespace support was added
with commit ccd73b119d7 ("ipip: add x-netns support").

Cc: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_tunnel.c