]> git.baikalelectronics.ru Git - kernel.git/commit
ip6tnl: allow to use rtnl ops on fb tunnel
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Tue, 1 Oct 2013 16:05:00 +0000 (18:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Oct 2013 16:55:53 +0000 (12:55 -0400)
commit4696a456a84911076b6950a2662e0a5442fdc281
treecbea57cdc340b0390f4897674cde3da56ab3426b
parent76e7b3483fb1303def5001da97ea6d50048d67cd
ip6tnl: allow to use rtnl ops on fb tunnel

rtnl ops where introduced by a763157bf3af ("ip6tnl: advertise tunnel param via
rtnl"), but I forget to assign rtnl ops to fb tunnels.

Now that it is done, we must remove the explicit call to
unregister_netdevice_queue(), because  the fallback tunnel is added to the queue
in ip6_tnl_destroy_tunnels() when checking rtnl_link_ops of all netdevices (this
is valid since commit 3f108521cb9f ("ip6tnl: add x-netns support")).

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_tunnel.c