]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
net: stmmac: gmac4+: Not all Unicast addresses may be available
authorJose Abreu <Jose.Abreu@synopsys.com>
Sun, 6 Oct 2019 11:08:56 +0000 (13:08 +0200)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 14 Feb 2020 05:29:37 +0000 (00:29 -0500)
commit972c686eaa6e910476f2cb758a2e738bd2dbbf35
tree04e9ee03dc58dd6868ea4dd5921017f3bd77d20e
parent0a160abaffda9eb3b1b681a5317311c8a453710c
net: stmmac: gmac4+: Not all Unicast addresses may be available

BugLink: https://bugs.launchpad.net/bugs/1863019
[ Upstream commit 25683bab09a70542b9f8e3e28f79b3369e56701f ]

Some setups may not have all Unicast addresses filters available. Check
the number of available filters before trying to setup it.

Fixes: 477286b53f55 ("stmmac: add GMAC4 core support")
Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c