[PATCH v5 net-next 6/6] selftests: forwarding: add test of MAC-Auth Bypass to locked port tests

netdev at kapio-technology.com netdev at kapio-technology.com
Fri Sep 23 05:21:25 PDT 2022


On 2022-09-23 13:34, netdev at kapio-technology.com wrote:
> On 2022-09-21 09:15, Ido Schimmel wrote:
> 
>> 	# Check blackhole entries can be replaced.
>> 	bridge fdb replace `mac_get $h2` dev $swp2 master static
>> 	bridge fdb get `mac_get $h2` br br0 | grep -q blackhole
>> 	check_fail $? "Blackhole entry found after replacement"
> 
> There seems to be a problem with replacing blackhole fdb entries as
> fdb_find_rcu() does not find the associated fdb entry (addr, vid) and
> I don't know why that is the case?

I realize that the reason why fdb_find_rcu() does not find the entry is 
surely that it is stored in the bridge device fdb and not 'master' fdb.



More information about the linux-arm-kernel mailing list