mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
selftests: forwarding: add a no_forwarding.sh test
Bombard a standalone switch port with various kinds of traffic to ensure it is really standalone and doesn't leak packets to other switch ports. Also check for switch ports in different bridges, and switch ports in a VLAN-aware bridge but having different pvids. No forwarding should take place in either case. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a5114df6c6
commit
476a4f05d9
1 changed files with 261 additions and 0 deletions
261
tools/testing/selftests/net/forwarding/no_forwarding.sh
Executable file
261
tools/testing/selftests/net/forwarding/no_forwarding.sh
Executable file
Loading…
Add table
Add a link
Reference in a new issue