]> Pileus Git - ~andy/linux/blobdiff - net/ipv4/ip_tunnel.c
ip_tunnel: Remove double unregister of the fallback device
[~andy/linux] / net / ipv4 / ip_tunnel.c
index 895a3535321b36f3a45cc24da181108cb1628346..63a6d6d6b87581d3ac3bda52cab5833f3cb169ab 100644 (file)
@@ -886,8 +886,6 @@ static void ip_tunnel_destroy(struct ip_tunnel_net *itn, struct list_head *head,
                        if (!net_eq(dev_net(t->dev), net))
                                unregister_netdevice_queue(t->dev, head);
        }
-       if (itn->fb_tunnel_dev)
-               unregister_netdevice_queue(itn->fb_tunnel_dev, head);
 }
 
 void ip_tunnel_delete_net(struct ip_tunnel_net *itn, struct rtnl_link_ops *ops)