selftests: forwarding: tests of locked port feature
authorHans Schultz <schultz.hans@gmail.com>
Wed, 23 Feb 2022 10:16:50 +0000 (11:16 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Feb 2022 12:52:34 +0000 (12:52 +0000)
commitb2b681a412517bf477238de62b1d227361fa04fe
tree2d0066ba1b564b2eaef5147b13008dfa24f43ddb
parent34ea415f927e7fb8e0d4e17c3c16aa3bb2510932
selftests: forwarding: tests of locked port feature

These tests check that the basic locked port feature works, so that
no 'host' can communicate (ping) through a locked port unless the
MAC address of the 'host' interface is in the forwarding database of
the bridge.

Signed-off-by: Hans Schultz <schultz.hans+netdev@gmail.com>
Acked-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/Makefile
tools/testing/selftests/net/forwarding/bridge_locked_port.sh [new file with mode: 0755]
tools/testing/selftests/net/forwarding/lib.sh