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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)