From: Heiner Kallweit Date: Sat, 7 Nov 2020 20:52:42 +0000 (+0100) Subject: gtp: switch to dev_get_tstats64 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=250f19c75195cd8cf8ec00e013f14be4bd4b2e4e;p=linux.git gtp: switch to dev_get_tstats64 Replace ip_tunnel_get_stats64() with the new identical core function dev_get_tstats64(). Acked-by: Harald Welte Signed-off-by: Heiner Kallweit Signed-off-by: Jakub Kicinski --- diff --git a/drivers/net/gtp.c b/drivers/net/gtp.c index dc668ed280b9f..4c04e271f1844 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)