diff options
author | Jiawen Wu <jiawenwu@trustnetic.com> | 2025-07-14 09:56:56 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-07-24 08:58:41 +0200 |
commit | fd6abf8f75db226c4985e283d4c45b6af1aae7b7 (patch) | |
tree | 8f8ff197c0475454bd5a6047f4bd4bcfaee66583 /net/lapb/lapb_timer.c | |
parent | 30a279c3d8c1782112584bae7248aa5ad3bd4086 (diff) |
net: libwx: fix multicast packets received count
commit 2b30a3d1ec2538a1fd363fde746b9fe1d38abc77 upstream.
Multicast good packets received by PF rings that pass ethternet MAC
address filtering are counted for rtnl_link_stats64.multicast. The
counter is not cleared on read. Fix the duplicate counting on updating
statistics.
Fixes: 46b92e10d631 ("net: libwx: support hardware statistics")
Cc: stable@vger.kernel.org
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/DA229A4F58B70E51+20250714015656.91772-1-jiawenwu@trustnetic.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions