Subject: [PATCH] Merge GT/MV642xx Support into MV643xx Driver [6/8]

From: "Steven J. Hill" <[email-masked]>
Date: Wed, 18 Jul 2007 23:55:36 -0500

Fix the TX bytes statistics counter to, um, actually count.

Signed-off-by: Steven J. Hill <[email-masked]>
---
--- linux-2.6.22.1/drivers/net/mv643xx_eth.c	2007-07-18 21:51:49.000000000 -0500
+++ linux-2.6.22.1-rci/drivers/net/mv643xx_eth.c	2007-07-18 21:44:07.000000000 -0500
@@ -1506,7 +1511,7 @@
 	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;