--- zzzz-none-000/linux-2.6.39.4/drivers/net/pxa168_eth.c 2011-08-03 19:43:28.000000000 +0000 +++ puma6-atom-6490-729/linux-2.6.39.4/drivers/net/pxa168_eth.c 2021-11-10 13:38:15.000000000 +0000 @@ -1273,7 +1273,7 @@ wmb(); wrl(pep, SDMA_CMD, SDMA_CMD_TXDH | SDMA_CMD_ERD); - stats->tx_bytes += length; + stats->tx_bytes += skb->len; stats->tx_packets++; dev->trans_start = jiffies; if (pep->tx_ring_size - pep->tx_desc_count <= 1) {