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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Jan 2022 11:42:35 +0000 (12:42 +0100)
commitc1babfe1b8109646e6d6f50e5192253cb153c499
tree81e88ac3eee2d51f695e503c0efff3d6f4457134
parentc903a963b7e60a4016fdeb307047465fbc67feb1
net: lantiq_xrx200: fix statistics of received bytes

[ Upstream commit 5be60a945329d82f06fc755a43eeefbfc5f77d72 ]

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

Fixes: fe1a56420cf2 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/lantiq_xrx200.c