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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Mar 2021 12:44:59 +0000 (14:44 +0200)
commit776a136f4fe1ec31e20ac7631f1929c42c1385b4
tree8308a741f8eb411d5cdaaebb457186f3f39896ed
parent9e29602228889300006903d988c1d2bddfbf90e4
sun/niu: fix wrong RXMAC_BC_FRM_CNT_COUNT count

[ Upstream commit 155b23e6e53475ca3b8c2a946299b4d4dd6a5a1e ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/sun/niu.c