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

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
...@@ -920,7 +920,7 @@ static void netvsc_get_stats64(struct net_device *net, ...@@ -920,7 +920,7 @@ static void netvsc_get_stats64(struct net_device *net,
} }
t->tx_dropped = net->stats.tx_dropped; 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_dropped = net->stats.rx_dropped;
t->rx_errors = net->stats.rx_errors; t->rx_errors = net->stats.rx_errors;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment