diff options
author | Yeounsu Moon <yyyynoom@gmail.com> | 2025-08-24 03:29:24 +0900 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-08-25 17:22:31 -0700 |
commit | 007a5ffadc4fd51739527f1503b7cf048f31c413 (patch) | |
tree | 9be037ea6ad8bd21a7dee37effb3e075b313099d /rust/helpers/processor.c | |
parent | 97766512a9951b9fd6fc97f1b93211642bb0b220 (diff) |
net: dlink: fix multicast stats being counted incorrectly
`McstFramesRcvdOk` counts the number of received multicast packets, and
it reports the value correctly.
However, reading `McstFramesRcvdOk` clears the register to zero. As a
result, the driver was reporting only the packets since the last read,
instead of the accumulated total.
Fix this by updating the multicast statistics accumulatively instaed of
instantaneously.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Tested-on: D-Link DGE-550T Rev-A3
Signed-off-by: Yeounsu Moon <yyyynoom@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20250823182927.6063-3-yyyynoom@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/processor.c')
0 files changed, 0 insertions, 0 deletions