diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2020-11-07 23:55:11 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-10 04:50:28 +0300 |
commit | 682036b2b9fbcf98e333bad717968ad6650a0d94 (patch) | |
tree | 70f8aa44af3ebdc99d57ac2d046c0d5e9f4cdc22 /net/ipv4 | |
parent | 98d7fc46388a749712de87ec0f91cf800b151f30 (diff) | |
download | linux-682036b2b9fbcf98e333bad717968ad6650a0d94.tar.xz |
net: remove ip_tunnel_get_stats64
After having migrated all users remove ip_tunnel_get_stats64().
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/ip_tunnel_core.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/net/ipv4/ip_tunnel_core.c b/net/ipv4/ip_tunnel_core.c index 25f1caf5abf9..923a9fa2ecfc 100644 --- a/net/ipv4/ip_tunnel_core.c +++ b/net/ipv4/ip_tunnel_core.c @@ -429,15 +429,6 @@ int skb_tunnel_check_pmtu(struct sk_buff *skb, struct dst_entry *encap_dst, } EXPORT_SYMBOL(skb_tunnel_check_pmtu); -/* Often modified stats are per cpu, other are shared (netdev->stats) */ -void ip_tunnel_get_stats64(struct net_device *dev, - struct rtnl_link_stats64 *tot) -{ - netdev_stats_to_stats64(tot, &dev->stats); - dev_fetch_sw_netstats(tot, dev->tstats); -} -EXPORT_SYMBOL_GPL(ip_tunnel_get_stats64); - static const struct nla_policy ip_tun_policy[LWTUNNEL_IP_MAX + 1] = { [LWTUNNEL_IP_UNSPEC] = { .strict_start_type = LWTUNNEL_IP_OPTS }, [LWTUNNEL_IP_ID] = { .type = NLA_U64 }, |