]> git.baikalelectronics.ru Git - kernel.git/commit
net: lantiq_xrx200: fix statistics of received bytes
authorAleksander Jan Bajkowski <olek2@wp.pl>
Mon, 27 Dec 2021 16:22:03 +0000 (17:22 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Dec 2021 12:18:18 +0000 (12:18 +0000)
commit8faa16bf08750bc89d7561ffd7ac08ddaeb65c33
tree852c09e5edb5ef9d632c02704215c9835d3dcc29
parent0520b5ab207e3881ab0875f3de54941a088e5b2f
net: lantiq_xrx200: fix statistics of received bytes

Received frames have FCS truncated. There is no need
to subtract FCS length from the statistics.

Fixes: 462a72fd466e ("net: lantiq: Add Lantiq / Intel VRX200 Ethernet driver")
Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/lantiq_xrx200.c