projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3f70bf
)
via-velocity : update receive packets statistics.
author
françois romieu
<romieu@fr.zoreil.com>
Thu, 4 Aug 2011 02:37:55 +0000
(
02:37
+0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 8 Aug 2011 05:00:37 +0000
(22:00 -0700)
Addresses https://bugzilla.kernel.org/show_bug.cgi?id=14076.
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Tested-by: Jon Nelson <jnelson@jamponi.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/via-velocity.c
patch
|
blob
|
history
diff --git
a/drivers/net/via-velocity.c
b/drivers/net/via-velocity.c
index deb1eca13c9f4f8321facaced82e6740da5f5cb5..ae66696d4ac8dcf6a013d60dcfda43280928dc77 100644
(file)
--- a/
drivers/net/via-velocity.c
+++ b/
drivers/net/via-velocity.c
@@
-2092,6
+2092,7
@@
static int velocity_receive_frame(struct velocity_info *vptr, int idx)
netif_rx(skb);
stats->rx_bytes += pkt_len;
+ stats->rx_packets++;
return 0;
}