net: stmmac: dwmac1000: provide multicast filter fallback
authorJonathan McDowell <noodles@earth.li>
Wed, 12 Aug 2020 19:37:01 +0000 (20:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Aug 2020 09:02:07 +0000 (11:02 +0200)
commit33c625460675d8a24def532ddf04c5141529c951
treea06f10c3191256616ed3fc644d7c6bb67df4f0c3
parent83c4c2aee0e0cb60df6fef91296419e98f608429
net: stmmac: dwmac1000: provide multicast filter fallback

commit 592d751c1e174df5ff219946908b005eb48934b3 upstream.

If we don't have a hardware multicast filter available then instead of
silently failing to listen for the requested ethernet broadcast
addresses fall back to receiving all multicast packets, in a similar
fashion to other drivers with no multicast filter.

Cc: stable@vger.kernel.org
Signed-off-by: Jonathan McDowell <noodles@earth.li>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c