]> git.baikalelectronics.ru Git - kernel.git/commit
sun/niu: fix wrong RXMAC_BC_FRM_CNT_COUNT count
authorDenis Efremov <efremov@linux.com>
Fri, 5 Mar 2021 17:02:12 +0000 (20:02 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Mar 2021 21:00:38 +0000 (13:00 -0800)
commitcc148a8d03381efaf519ff0d0168b1bf11330a91
tree7c056831e2334e1cb9043826529f965d353b0d3e
parent3670de907a10c542a8581dc818864928dc79e4ff
sun/niu: fix wrong RXMAC_BC_FRM_CNT_COUNT count

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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sun/niu.c