]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: selftests: Fix L2 Hash Filter test
authorJose Abreu <Jose.Abreu@synopsys.com>
Sun, 6 Oct 2019 11:08:57 +0000 (13:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 6 Oct 2019 16:42:02 +0000 (18:42 +0200)
commitfcad07f48d108e1566482973fdf4c4a58f0e1755
tree350cd0b47812ff13a9d3ed816a96a778c5de0018
parent4d6acd8647555aa142cb9d78b3b69471c2bfeae0
net: stmmac: selftests: Fix L2 Hash Filter test

With the current MAC addresses hard-coded in the test we can get some
false positives as we use the Hash Filtering method. Let's change the
MAC addresses in the tests to be unique when hashed.

Fixes: 205dbb457eeb ("net: stmmac: Introduce selftests support")
Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c