commit | 74d79a2e30c476ccc7d45ecf978f38d815287f81 | [log] [tgz] |
---|---|---|
author | Woojung Huh <woojung.huh@microchip.com> | Mon Apr 25 22:22:32 2016 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 28 16:36:11 2016 -0400 |
tree | c31c0e3a0a8bd7c25351654145168a762cfb146f | |
parent | 1d9619d5337df6cf56eb66b6c8213d1317583513 [diff] |
lan78xx: fix statistics counter error Fix rx_bytes, tx_bytes and tx_frames error in netdev.stats. - rx_bytes counted bytes excluding size of struct ethhdr. - tx_packets didn't count multiple packets in a single urb - tx_bytes included 8 bytes of extra commands. Signed-off-by: Woojung Huh <woojung.huh@microchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>