diff options
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2015-04-02 17:07:02 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-04-02 14:05:00 -0400 |
commit | 1e99584b911cb6f3d2a681e2532d8dc3f9339c9c (patch) | |
tree | eec4ef0b2a2179418d5a4c7525eaec261d273bf5 /include/net | |
parent | ecf2c06a88d2ed534a87b84b8c1a467ab23352dd (diff) | |
download | linux-1e99584b911cb6f3d2a681e2532d8dc3f9339c9c.tar.gz linux-1e99584b911cb6f3d2a681e2532d8dc3f9339c9c.tar.bz2 linux-1e99584b911cb6f3d2a681e2532d8dc3f9339c9c.zip |
ipip,gre,vti,sit: implement ndo_get_iflink
Don't use dev->iflink anymore.
CC: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/ip_tunnels.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/ip_tunnels.h b/include/net/ip_tunnels.h index 2c47061a6954..d8214cb88bbc 100644 --- a/include/net/ip_tunnels.h +++ b/include/net/ip_tunnels.h @@ -142,6 +142,7 @@ int ip_tunnel_init(struct net_device *dev); void ip_tunnel_uninit(struct net_device *dev); void ip_tunnel_dellink(struct net_device *dev, struct list_head *head); struct net *ip_tunnel_get_link_net(const struct net_device *dev); +int ip_tunnel_get_iflink(const struct net_device *dev); int ip_tunnel_init_net(struct net *net, int ip_tnl_net_id, struct rtnl_link_ops *ops, char *devname); |