Messages in this thread | | | Subject | Re: [PATCH] sun/niu: fix wrong RXMAC_BC_FRM_CNT_COUNT count | From | patchwork-bot+netdevbpf@kernel ... | Date | Fri, 05 Mar 2021 21:10:09 +0000 |
| |
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
| |