lkml.org 
[lkml]   [2021]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] sun/niu: fix wrong RXMAC_BC_FRM_CNT_COUNT count
    From
    Date
    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


    \
     
     \ /
      Last update: 2021-03-05 22:11    [W:4.018 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site