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:
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
|
blame
|
history
diff --git
a/drivers/net/mv643xx_eth.c
b/drivers/net/mv643xx_eth.c
index 1799eee88db7f81e3206f6372eb8119ba4ea883b..6a117e9968cb5dd09e91ae4425b3cd3b27e9d35c 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;