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