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:
a7ec3f5
)
[NET]: ifb double-counts packets
author
dean gaudet
<dean@arctic.org>
Tue, 2 Jan 2007 03:39:09 +0000
(19:39 -0800)
committer
David S. Miller
<davem@sunset.davemloft.net>
Thu, 4 Jan 2007 02:38:08 +0000
(18:38 -0800)
Signed-off-by: dean gaudet <dean@arctic.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ifb.c
patch
|
blob
|
history
diff --git
a/drivers/net/ifb.c
b/drivers/net/ifb.c
index c26a4b8e552a52274832b551a45c2d47ca357da7..ca2b21f9d44489f4008761764f520f90a8956053 100644
(file)
--- a/
drivers/net/ifb.c
+++ b/
drivers/net/ifb.c
@@
-154,8
+154,8
@@
static int ifb_xmit(struct sk_buff *skb, struct net_device *dev)
int ret = 0;
u32 from = G_TC_FROM(skb->tc_verd);
- stats->
t
x_packets++;
- stats->
t
x_bytes+=skb->len;
+ stats->
r
x_packets++;
+ stats->
r
x_bytes+=skb->len;
if (!from || !skb->input_dev) {
dropped: