diff options
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2015-01-20 09:15:43 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-23 20:51:14 -0500 |
commit | 3390e397611ca9da6bbd6ba5e8bc81a0a91da572 (patch) | |
tree | 53b45c447580d971c22552498a7729a0efffbf65 | |
parent | bdef279b993b3a112c493447d5b3d8f28c229d88 (diff) |
ip6gretap: advertise link netns via netlink
Assign rtnl_link_ops->get_link_net() callback so that IFLA_LINK_NETNSID is
added to rtnetlink messages.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/ipv6/ip6_gre.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/ip6_gre.c b/net/ipv6/ip6_gre.c index 9306a5ff9149..6dee2a8ca0a9 100644 --- a/net/ipv6/ip6_gre.c +++ b/net/ipv6/ip6_gre.c | |||
@@ -1676,6 +1676,7 @@ static struct rtnl_link_ops ip6gre_tap_ops __read_mostly = { | |||
1676 | .changelink = ip6gre_changelink, | 1676 | .changelink = ip6gre_changelink, |
1677 | .get_size = ip6gre_get_size, | 1677 | .get_size = ip6gre_get_size, |
1678 | .fill_info = ip6gre_fill_info, | 1678 | .fill_info = ip6gre_fill_info, |
1679 | .get_link_net = ip6_tnl_get_link_net, | ||
1679 | }; | 1680 | }; |
1680 | 1681 | ||
1681 | /* | 1682 | /* |