projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
025331d
)
netvsc: fix typo on statistics
author
Simon Xiao
<sixaio@microsoft.com>
Fri, 17 Feb 2017 19:36:20 +0000
(11:36 -0800)
committer
David S. Miller
<davem@davemloft.net>
Fri, 17 Feb 2017 20:06:52 +0000
(15:06 -0500)
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>
drivers/net/hyperv/netvsc_drv.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/hyperv/netvsc_drv.c
b/drivers/net/hyperv/netvsc_drv.c
index 425285f3659502707cf9590241ac1fe28b8caa7a..2d3cdb026a9959bf611425d7a6ece54f8d2e2abf 100644
(file)
--- 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;