mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-02-06 11:19:56 +00:00
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>
This commit is contained in:
parent
bdef279b99
commit
3390e39761
@ -1676,6 +1676,7 @@ static struct rtnl_link_ops ip6gre_tap_ops __read_mostly = {
|
|||||||
.changelink = ip6gre_changelink,
|
.changelink = ip6gre_changelink,
|
||||||
.get_size = ip6gre_get_size,
|
.get_size = ip6gre_get_size,
|
||||||
.fill_info = ip6gre_fill_info,
|
.fill_info = ip6gre_fill_info,
|
||||||
|
.get_link_net = ip6_tnl_get_link_net,
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user