summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2020-11-07 21:52:42 +0100
committerJakub Kicinski <kuba@kernel.org>2020-11-10 02:50:28 +0100
commit250f19c75195cd8cf8ec00e013f14be4bd4b2e4e (patch)
treedb1d27467d505f6a5a76277e90cf58c1d12bd327
parentnet: switch to dev_get_tstats64 (diff)
downloadlinux-250f19c75195cd8cf8ec00e013f14be4bd4b2e4e.tar.xz
linux-250f19c75195cd8cf8ec00e013f14be4bd4b2e4e.zip
gtp: switch to dev_get_tstats64
Replace ip_tunnel_get_stats64() with the new identical core function dev_get_tstats64(). Acked-by: Harald Welte <laforge@gnumonks.org> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
-rw-r--r--drivers/net/gtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/gtp.c b/drivers/net/gtp.c
index dc668ed280b9..4c04e271f184 100644
--- a/drivers/net/gtp.c
+++ b/drivers/net/gtp.c
@@ -607,7 +607,7 @@ static const struct net_device_ops gtp_netdev_ops = {
.ndo_init = gtp_dev_init,
.ndo_uninit = gtp_dev_uninit,
.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)