]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 9 Dec 2017 17:29:47 +0000 (18:29 +0100)
commitae8e8f2b0f5fc7d11d9a06af37e50f9e6dc44b6a
treef653f6aa200e1cc40f2df0c26408802dd2891b41
parent2be09ca3fe9c0ffcd82139b4efe06b7f91d6cae5
vti6: fix device register to report IFLA_INFO_KIND

[ Upstream commit 93e246f783e6bd1bc64fdfbfe68b18161f69b28e ]

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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ipv6/ip6_vti.c