Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b5124720 authored by Simon Xiao's avatar Simon Xiao Committed by David S. Miller
Browse files

netvsc: fix typo on statistics



Return the correct tx_errors stats in netvsc.

Reviewed-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarSimon Xiao <sixiao@microsoft.com>
Signed-off-by: default avatarStephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 025331df
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -920,7 +920,7 @@ static void netvsc_get_stats64(struct net_device *net,
	}

	t->tx_dropped	= net->stats.tx_dropped;
	t->tx_errors	= net->stats.tx_dropped;
	t->tx_errors	= net->stats.tx_errors;

	t->rx_dropped	= net->stats.rx_dropped;
	t->rx_errors	= net->stats.rx_errors;