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
> ---
> I don't know the code
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
---
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;