diff options
author | Woojung Huh <woojung.huh@microchip.com> | 2016-04-26 01:22:32 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-28 23:36:11 +0300 |
commit | 74d79a2e30c476ccc7d45ecf978f38d815287f81 (patch) | |
tree | c31c0e3a0a8bd7c25351654145168a762cfb146f /samples | |
parent | 1d9619d5337df6cf56eb66b6c8213d1317583513 (diff) | |
download | linux-74d79a2e30c476ccc7d45ecf978f38d815287f81.tar.xz |
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions