diff options
author | Steffen Klassert | 2014-11-03 09:19:29 +0100 |
---|---|---|
committer | David S. Miller | 2014-11-03 15:42:24 -0500 |
commit | ebe084aafb7e93adf210e80043c9f69adf56820d (patch) | |
tree | 53f5a442d023ca0aeb8cc0a4727039bed3d096a2 /net/ipv6/addrconf.c | |
parent | 16a0231bf7dc3fb37e9b1f1cb1a277dc220b5c5e (diff) |
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 'net/ipv6/addrconf.c')
0 files changed, 0 insertions, 0 deletions