aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/ip6_vti.c
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2014-11-03 09:19:27 +0100
committerDavid S. Miller <davem@davemloft.net>2014-11-03 15:42:24 -0500
commit6c6151daaf2d8dc2046d9926539feed5f66bf74e (patch)
tree1b711d55edd652be24ae06e6fdf68e47dc1b6c5c /net/ipv6/ip6_vti.c
parentmacvtap: Fix csum_start when VLAN tags are present (diff)
downloadlinux-dev-6c6151daaf2d8dc2046d9926539feed5f66bf74e.tar.xz
linux-dev-6c6151daaf2d8dc2046d9926539feed5f66bf74e.zip
ip6_tunnel: Use ip6_tnl_dev_init as the ndo_init function.
ip6_tnl_dev_init() sets the dev->iflink via a call to ip6_tnl_link_config(). After that, register_netdevice() sets dev->iflink = -1. So we loose the iflink configuration for ipv6 tunnels. Fix this by using ip6_tnl_dev_init() as the ndo_init function. Then ip6_tnl_dev_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/ip6_vti.c')
0 files changed, 0 insertions, 0 deletions