Merge GT/MV642xx Support into MV643xx Driver [6/8]
Subsystems (2)
PATCH 1/1 Merge GT/MV642xx Support into MV643xx Driver [6/8]
Fix the TX bytes statistics counter to, um, actually count.
Signed-off-by Steven J. Hill <[email protected]>
---
drivers/net/mv643xx_eth.c +1 -1
@@ -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;
Quoted 8 lines · Steven J. Hill
Fix the TX bytes statistics counter to, um, actually count.
Signed-off-by Steven J. Hill <[email protected]>---
drivers/net/mv643xx_eth.c line 1517
Quoted 8 lines
drivers/net/mv643xx_eth.c +1
-1@@ -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;
Good fix, thanks. Please resubmit per the guidelines in Documentation/SubmittingPatches.
-Dale