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:
e7b909a
)
be2net: Fix rx_drops_no_fragments stat being incorrectly indexed
author
Sathya Perla
<sathyap@serverengines.com>
Sun, 22 Nov 2009 22:01:31 +0000
(22:01 +0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 23 Nov 2009 18:44:21 +0000
(10:44 -0800)
Signed-off-by: Sathya Perla <sathyap@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/benet/be_main.c
b/drivers/net/benet/be_main.c
index 919fd82ebbaefa1aa0cfc43c355a434555681b0b..b0ff06e41f75f91c4b249bdea16e6dcf3451ad60 100644
(file)
--- a/
drivers/net/benet/be_main.c
+++ b/
drivers/net/benet/be_main.c
@@
-170,7
+170,8
@@
void netdev_stats_update(struct be_adapter *adapter)
port_stats->rx_udp_checksum_errs;
/* no space in linux buffers: best possible approximation */
- dev_stats->rx_dropped = erx_stats->rx_drops_no_fragments[0];
+ dev_stats->rx_dropped =
+ erx_stats->rx_drops_no_fragments[adapter->rx_obj.q.id];
/* detailed rx errors */
dev_stats->rx_length_errors = port_stats->rx_in_range_errors +