vti6: fix device register to report IFLA_INFO_KIND
authorDavid Forster <dforster@brocade.com>
Fri, 6 Jan 2017 10:27:59 +0000 (10:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Jan 2017 21:09:09 +0000 (16:09 -0500)
commit93e246f783e6bd1bc64fdfbfe68b18161f69b28e
treef47839cf4056f4662f749599af6f9dba63cbe83d
parent5ca7d1ca77dc23934504b95a96d2660d345f83c2
vti6: fix device register to report IFLA_INFO_KIND

vti6 interface is registered before the rtnl_link_ops block
is attached. As a result the resulting RTM_NEWLINK is missing
IFLA_INFO_KIND. Re-order attachment of rtnl_link_ops block to fix.

Signed-off-by: Dave Forster <dforster@brocade.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_vti.c