Commit c66d2348 authored by Aleksander Jan Bajkowski's avatar Aleksander Jan Bajkowski Committed by Zheng Zengkai
Browse files

net: lantiq_xrx200: fix statistics of received bytes

stable inclusion
from stable-v5.10.90
commit 8d70dc0eecf0fb1f1d6980fd525243afb69e3e0e
bugzilla: 186168 https://gitee.com/openeuler/kernel/issues/I4SHY1

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=8d70dc0eecf0fb1f1d6980fd525243afb69e3e0e



--------------------------------

[ Upstream commit 5be60a94 ]

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

Fixes: fe1a5642 ("net: lantiq: Add Lantiq / Intel VRX200 Ethernet driver")
Signed-off-by: default avatarAleksander Jan Bajkowski <olek2@wp.pl>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent d36b38c2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment