Re: [PATCH 1/2 net] lan78xx: fix statistics counter error

2016-04-28 Thread David Miller
From: Date: Mon, 25 Apr 2016 22:22:32 + > From: Woojung Huh > > 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 command

[PATCH 1/2 net] lan78xx: fix statistics counter error

2016-04-25 Thread Woojung.Huh
From: Woojung Huh 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 --- drivers/net/usb/lan78