netvsc: fix typo on statistics
Subsystems (3)
PATCH 1/1 netvsc: fix typo on statistics
From: Simon Xiao <[email protected]>
Return the correct tx_errors stats in netvsc.
Reviewed-by Haiyang Zhang <[email protected]>
Signed-off-by Simon Xiao <[email protected]>
Signed-off-by Stephen Hemminger <[email protected]>
--- drivers/net/hyperv/netvsc_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/hyperv/netvsc_drv.c +1 -1
@@ -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;
Signature · 1 line
2.11.0
From: Stephen Hemminger <[email protected]>
Date: Fri, 17 Feb 2017 11:36:20 -0800
Quoted 7 lines
From: Simon Xiao <[email protected]>
Return the correct
tx_errorsstats in netvsc.Reviewed-by Haiyang Zhang <[email protected]>Signed-off-by Simon Xiao <[email protected]>Signed-off-by Stephen Hemminger <[email protected]>
Applied, thanks Stephen.