diff options
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2015-04-02 17:07:01 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-04-02 20:04:59 +0200 |
commit | ecf2c06a88d2ed534a87b84b8c1a467ab23352dd (patch) | |
tree | ab6cbc9125c1b34fa2bded7795bc6c30505f72d5 /include/net/ip6_tunnel.h | |
parent | dev: introduce dev_get_iflink() (diff) | |
download | linux-ecf2c06a88d2ed534a87b84b8c1a467ab23352dd.tar.xz linux-ecf2c06a88d2ed534a87b84b8c1a467ab23352dd.zip |
ip6tnl,gre6,vti6: 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/ip6_tunnel.h')
-rw-r--r-- | include/net/ip6_tunnel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/ip6_tunnel.h b/include/net/ip6_tunnel.h index 76c091b53dae..1668be5937e6 100644 --- a/include/net/ip6_tunnel.h +++ b/include/net/ip6_tunnel.h @@ -71,6 +71,7 @@ __u16 ip6_tnl_parse_tlv_enc_lim(struct sk_buff *skb, __u8 *raw); __u32 ip6_tnl_get_cap(struct ip6_tnl *t, const struct in6_addr *laddr, const struct in6_addr *raddr); struct net *ip6_tnl_get_link_net(const struct net_device *dev); +int ip6_tnl_get_iflink(const struct net_device *dev); static inline void ip6tunnel_xmit(struct sk_buff *skb, struct net_device *dev) { |