diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2020-11-07 21:52:06 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-10 02:50:28 +0100 |
commit | b220a4a79ce576149a412c030fdb703144a07832 (patch) | |
tree | 35569475f2e72a7e754eae9bbaa9044f48d7b6d7 /drivers/net/vxlan.c | |
parent | ip6_tunnel: use ip_tunnel_get_stats64 as ndo_get_stats64 callback (diff) | |
download | linux-b220a4a79ce576149a412c030fdb703144a07832.tar.xz linux-b220a4a79ce576149a412c030fdb703144a07832.zip |
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/vxlan.c')
-rw-r--r-- | drivers/net/vxlan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c index 183e708dc6cb..236fcc55a5fd 100644 --- a/drivers/net/vxlan.c +++ b/drivers/net/vxlan.c @@ -3211,7 +3211,7 @@ static const struct net_device_ops vxlan_netdev_ether_ops = { .ndo_open = vxlan_open, .ndo_stop = vxlan_stop, .ndo_start_xmit = vxlan_xmit, - .ndo_get_stats64 = ip_tunnel_get_stats64, + .ndo_get_stats64 = dev_get_tstats64, .ndo_set_rx_mode = vxlan_set_multicast_list, .ndo_change_mtu = vxlan_change_mtu, .ndo_validate_addr = eth_validate_addr, @@ -3230,7 +3230,7 @@ static const struct net_device_ops vxlan_netdev_raw_ops = { .ndo_open = vxlan_open, .ndo_stop = vxlan_stop, .ndo_start_xmit = vxlan_xmit, - .ndo_get_stats64 = ip_tunnel_get_stats64, + .ndo_get_stats64 = dev_get_tstats64, .ndo_change_mtu = vxlan_change_mtu, .ndo_fill_metadata_dst = vxlan_fill_metadata_dst, }; |