]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit00bc085735aaff328852b47c7c25369cda31c3bb
tree2d0066ba1b564b2eaef5147b13008dfa24f43ddb
parentbbc418d832dbca025b131ed5f7fbfb989eead26a
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