This fixes a simple typo from the last set of driver simplifications patches. Now TX bytes stats are actually incremented rather than just containing the size of the last packet sent.
Signed-off-by: Brent Cook <[EMAIL PROTECTED]> --- a/drivers/net/mv643xx_eth.c 2006-05-04 00:51:47.000000000 -0500 +++ b/drivers/net/mv643xx_eth.c 2006-06-27 09:20:58.000000000 -0500 @@ -1211,7 +1218,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; - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html