Commit 250f19c7 authored by Heiner Kallweit's avatar Heiner Kallweit Committed by Jakub Kicinski

gtp: switch to dev_get_tstats64

Replace ip_tunnel_get_stats64() with the new identical core function
dev_get_tstats64().
Acked-by: default avatarHarald Welte <laforge@gnumonks.org>
Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent b220a4a7
...@@ -607,7 +607,7 @@ static const struct net_device_ops gtp_netdev_ops = { ...@@ -607,7 +607,7 @@ static const struct net_device_ops gtp_netdev_ops = {
.ndo_init = gtp_dev_init, .ndo_init = gtp_dev_init,
.ndo_uninit = gtp_dev_uninit, .ndo_uninit = gtp_dev_uninit,
.ndo_start_xmit = gtp_dev_xmit, .ndo_start_xmit = gtp_dev_xmit,
.ndo_get_stats64 = ip_tunnel_get_stats64, .ndo_get_stats64 = dev_get_tstats64,
}; };
static void gtp_link_setup(struct net_device *dev) static void gtp_link_setup(struct net_device *dev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment