diff options
author | Steffen Klassert <steffen.klassert@secunet.com> | 2014-11-03 08:19:29 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-03 20:42:24 (GMT) |
commit | ebe084aafb7e93adf210e80043c9f69adf56820d (patch) | |
tree | 53f5a442d023ca0aeb8cc0a4727039bed3d096a2 /block | |
parent | 16a0231bf7dc3fb37e9b1f1cb1a277dc220b5c5e (diff) | |
download | linux-ebe084aafb7e93adf210e80043c9f69adf56820d.tar.xz |
sit: Use ipip6_tunnel_init as the ndo_init function.
ipip6_tunnel_init() sets the dev->iflink via a call to
ipip6_tunnel_bind_dev(). After that, register_netdevice()
sets dev->iflink = -1. So we loose the iflink configuration
for ipv6 tunnels. Fix this by using ipip6_tunnel_init() as the
ndo_init function. Then ipip6_tunnel_init() is called after
dev->iflink is set to -1 from register_netdevice().
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions