diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2020-11-07 23:52:06 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-10 04:50:28 +0300 |
commit | b220a4a79ce576149a412c030fdb703144a07832 (patch) | |
tree | 35569475f2e72a7e754eae9bbaa9044f48d7b6d7 /drivers/net/geneve.c | |
parent | 6b840a04fe3521c3eea41e32dd5b0835418553da (diff) | |
download | linux-b220a4a79ce576149a412c030fdb703144a07832.tar.xz |
net: switch to dev_get_tstats64
Replace ip_tunnel_get_stats64() with the new identical core function
dev_get_tstats64().
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/geneve.c')
-rw-r--r-- | drivers/net/geneve.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/geneve.c b/drivers/net/geneve.c index d07008a818df..a3c8ce6deb93 100644 --- a/drivers/net/geneve.c +++ b/drivers/net/geneve.c @@ -1138,7 +1138,7 @@ static const struct net_device_ops geneve_netdev_ops = { .ndo_open = geneve_open, .ndo_stop = geneve_stop, .ndo_start_xmit = geneve_xmit, - .ndo_get_stats64 = ip_tunnel_get_stats64, + .ndo_get_stats64 = dev_get_tstats64, .ndo_change_mtu = geneve_change_mtu, .ndo_validate_addr = eth_validate_addr, .ndo_set_mac_address = eth_mac_addr, |