Commit 06efce71 authored by Jim Baxter's avatar Jim Baxter Committed by David S. Miller
Browse files

net: fec: Fix Transmitted bytes counter

The tx_bytes field was not being updated so the
network card statistics showed 0.0B transmitted.
Signed-off-by: default avatarJim Baxter <>
Signed-off-by: default avatarDavid S. Miller <>
parent 3b7b514f
......@@ -739,6 +739,7 @@ fec_enet_tx(struct net_device *ndev)
} else {
ndev->stats.tx_bytes += bdp->cbd_datlen;
if (unlikely(skb_shinfo(skb)->tx_flags & SKBTX_IN_PROGRESS) &&
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment