summaryrefslogtreecommitdiff
path: root/net/ipv6/sit.c
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2014-11-03 08:19:28 (GMT)
committerDavid S. Miller <davem@davemloft.net>2014-11-03 20:42:24 (GMT)
commit16a0231bf7dc3fb37e9b1f1cb1a277dc220b5c5e (patch)
treef53ab3a3cd86f85bfe00d0cb2129f59b446285c4 /net/ipv6/sit.c
parent6c6151daaf2d8dc2046d9926539feed5f66bf74e (diff)
downloadlinux-16a0231bf7dc3fb37e9b1f1cb1a277dc220b5c5e.tar.xz
vti6: Use vti6_dev_init as the ndo_init function.
vti6_dev_init() sets the dev->iflink via a call to vti6_link_config(). After that, register_netdevice() sets dev->iflink = -1. So we loose the iflink configuration for vti6 tunnels. Fix this by using vti6_dev_init() as the ndo_init function. Then vti6_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/sit.c')
0 files changed, 0 insertions, 0 deletions