[PATCH v6 net-next 9/9] selftests: forwarding: add test of MAC-Auth Bypass to locked port tests
netdev at kapio-technology.com
netdev at kapio-technology.com
Sat Oct 8 04:34:16 PDT 2022
On 2022-10-03 15:40, Ido Schimmel wrote:
>> +locked_port_station_move()
>> +{
>> + local mac=a0:b0:c0:c0:b0:a0
>> +
>> + RET=0
>> + check_locked_port_support || return 0
>> +
>> + bridge link set dev $swp1 locked on
>
> It is quite pointless to check that an entry cannot roam to a port that
> has learning disabled... Need:
>
> bridge link set dev $swp1 locked on learning on
>
>> +
>> + $MZ $h1 -q -t udp -a $mac -b rand
>> + bridge fdb show dev $swp1 | grep "$mac vlan 1" | grep -q "master
>> br0"
>
> bridge fdb get ...
>
> Same in other places
>
It seems that the output of 'bridge fdb get' does not respect the dev it
is given as input and outputs the (MAC,vlan) when found on another
dev...
More information about the linux-arm-kernel
mailing list