From: Steffen Klassert Date: Mon, 3 Nov 2014 08:19:27 +0000 (+0100) Subject: ip6_tunnel: Use ip6_tnl_dev_init as the ndo_init function. X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~119^2~42^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c6151daaf2d8dc2046d9926539feed5f66bf74e;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed