diff options
author | Simon Xiao <sixaio@microsoft.com> | 2017-02-17 11:36:20 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-17 15:06:52 -0500 |
commit | b5124720ed2e5b43c851a32e9acc8d29e3e780ae (patch) | |
tree | 6b5b94b424cf25075fc72b641beb7b7561b27557 /drivers/net/hyperv | |
parent | 025331df34f6722f86b467cb13a69326444ab1bc (diff) | |
download | linux-b5124720ed2e5b43c851a32e9acc8d29e3e780ae.tar.bz2 |
netvsc: fix typo on statistics
Return the correct tx_errors stats in netvsc.
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Simon Xiao <sixiao@microsoft.com>
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hyperv')
-rw-r--r-- | drivers/net/hyperv/netvsc_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/hyperv/netvsc_drv.c b/drivers/net/hyperv/netvsc_drv.c index 425285f36595..2d3cdb026a99 100644 --- a/drivers/net/hyperv/netvsc_drv.c +++ b/drivers/net/hyperv/netvsc_drv.c @@ -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; |