net: stmmac: dwmac1000: provide multicast filter fallback
authorJonathan McDowell <noodles@earth.li>
Wed, 12 Aug 2020 19:37:01 +0000 (20:37 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Aug 2020 20:12:52 +0000 (13:12 -0700)
commit592d751c1e174df5ff219946908b005eb48934b3
treea79036cd270d25c157fac9eb626e1b73ebce0ec5
parent06a7a37be55e29961c9ba2abec4d07c8e0e21861
net: stmmac: dwmac1000: provide multicast filter fallback

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>
drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c