]> 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)
commitf4f0ae3773eb9deb6b48a9210d16b29a984bda44
treecbea57cdc340b0390f4897674cde3da56ab3426b
parent7cb6aa16ced17ed12b737141ed77474c24e7bc71
ip6tnl: allow to use rtnl ops on fb tunnel

rtnl ops where introduced by 4e7d6f1a8b63 ("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 92acedce062c ("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