projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2ca44c
)
mv643xx_eth: Fix tx_bytes stats calculation
author
Dale Farnsworth
<dale@farnsworth.org>
Fri, 14 Sep 2007 18:23:16 +0000
(11:23 -0700)
committer
Jeff Garzik
<jeff@garzik.org>
Sat, 15 Sep 2007 23:31:13 +0000
(19:31 -0400)
Reported by Corey Minyard <cminyard@mvista.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/mv643xx_eth.c
patch
|
blob
|
history
diff --git
a/drivers/net/mv643xx_eth.c
b/drivers/net/mv643xx_eth.c
index
1799eee
..
6a117e9
100644
(file)
--- a/
drivers/net/mv643xx_eth.c
+++ b/
drivers/net/mv643xx_eth.c
@@
-1222,7
+1222,7
@@
static int mv643xx_eth_start_xmit(struct sk_buff *skb, struct net_device *dev)
spin_lock_irqsave(&mp->lock, flags);
eth_tx_submit_descs_for_skb(mp, skb);
- stats->tx_bytes = skb->len;
+ stats->tx_bytes
+
= skb->len;
stats->tx_packets++;
dev->trans_start = jiffies;