OSDN Git Service

gre6: Move the setting of dev->iflink into the ndo_init functions.
authorSteffen Klassert <steffen.klassert@secunet.com>
Mon, 3 Nov 2014 08:19:30 +0000 (09:19 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Nov 2014 20:42:24 +0000 (15:42 -0500)
commitf03eb128e3f4276f46442d14f3b8f864f3775821
treef70dc113b3c7946819f2f2829cb696159bea8cec
parentebe084aafb7e93adf210e80043c9f69adf56820d
gre6: Move the setting of dev->iflink into the ndo_init functions.

Otherwise it gets overwritten by register_netdev().

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_gre.c