Thread (2 messages) flat view 2 messages, 2 authors, 2021-03-05

Re: [PATCH] sun/niu: fix wrong RXMAC_BC_FRM_CNT_COUNT count

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-03-05 21:11:41
Also in: lkml

Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Fri,  5 Mar 2021 20:02:12 +0300 you wrote:
RXMAC_BC_FRM_CNT_COUNT added to mp->rx_bcasts twice in a row
in niu_xmac_interrupt(). Remove the second addition.

Signed-off-by: Denis Efremov <efremov@linux.com>
---
I don't know the code of the dirver, but this looks like a real bug.
Otherwise, it's more readable as:
   mp->rx_bcasts += RXMAC_BC_FRM_CNT_COUNT * 2;

[...]
Here is the summary with links:
  - sun/niu: fix wrong RXMAC_BC_FRM_CNT_COUNT count
    https://git.kernel.org/netdev/net/c/155b23e6e534

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help