mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
tunnels: advertise link netns via netlink
Implement 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
d37512a277
commit
1728d4fabd
11 changed files with 34 additions and 0 deletions
|
@ -1763,6 +1763,7 @@ static struct rtnl_link_ops sit_link_ops __read_mostly = {
|
|||
.get_size = ipip6_get_size,
|
||||
.fill_info = ipip6_fill_info,
|
||||
.dellink = ipip6_dellink,
|
||||
.get_link_net = ip_tunnel_get_link_net,
|
||||
};
|
||||
|
||||
static struct xfrm_tunnel sit_handler __read_mostly = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue