mirror-linux/tools/testing/selftests/net
Petr Machata c8d0260cdd selftests: net: mirror_gre_vlan_bridge_1q: Make an FDB entry static
The FDB roaming test installs a destination MAC address on the wrong
interface of an FDB database and tests whether the mirroring fails, because
packets are sent to the wrong port. The test by mistake installs the FDB
entry as local. This worked previously, because drivers were notified of
local FDB entries in the same way as of static entries. However that has
been fixed in the commit 6ab4c3117a ("net: bridge: don't notify switchdev
for local FDB addresses"), and local entries are not notified anymore. As a
result, the HW is not reconfigured for the FDB roam, and mirroring keeps
working, failing the test.

To fix the issue, mark the FDB entry as static.

Fixes: 9c7c8a8244 ("selftests: forwarding: mirror_gre_vlan_bridge_1q: Add more tests")
Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-04-23 14:01:28 -07:00
..
forwarding selftests: net: mirror_gre_vlan_bridge_1q: Make an FDB entry static 2021-04-23 14:01:28 -07:00
mptcp selftests: mptcp: add packet mark test case 2021-04-16 15:23:10 -07:00
.gitignore selftest/net/xfrm: Add test for ipsec tunnel 2020-09-24 08:53:04 +02:00
Makefile self-tests: add veth tests 2021-04-11 16:39:28 -07:00
altnames.sh selftest: net: add alternative names test 2019-11-08 14:10:27 -08:00
bareudp.sh selftests: set conf.all.rp_filter=0 in bareudp.sh 2020-11-12 16:14:38 -08:00
config selftests: add test script for bareudp tunnels 2020-11-02 15:23:27 -08:00
devlink_port_split.py tweewide: Fix most Shebang lines 2020-12-08 23:30:04 +09:00
drop_monitor_tests.sh selftests: net: Add drop monitor test 2020-09-30 18:01:26 -07:00
fcnal-test.sh selftests: Add separate option to nettest for address binding 2021-01-14 16:26:50 -08:00
fib-onlink-tests.sh
fib_nexthop_multiprefix.sh selftests: fib_nexthop_multiprefix: fix cleanup() netns deletion 2020-07-14 15:06:12 -07:00
fib_nexthops.sh selftests: fib_nexthops: Test large scale nexthop flushing 2021-04-19 15:20:34 -07:00
fib_rule_tests.sh
fib_tests.sh selftests: fib_tests: Add test cases for interaction with mangling 2021-04-18 22:04:16 +02:00
fin_ack_lat.c selftests: net: Add FIN_ACK processing order related latency spike test 2020-02-02 13:33:21 -08:00
fin_ack_lat.sh selftests: net: Add FIN_ACK processing order related latency spike test 2020-02-02 13:33:21 -08:00
hwtstamp_config.c selftests: move timestamping selftests to net folder 2020-03-29 21:48:30 -07:00
icmp_redirect.sh selftests: disable rp_filter for icmp_redirect.sh 2020-08-17 14:59:24 -07:00
in_netns.sh
ip6_gre_headroom.sh
ip_defrag.c selftests: net: ip_defrag: ignore EPERM 2020-06-02 15:54:20 -07:00
ip_defrag.sh selftests: net: ip_defrag: modprobe missing nf_defrag_ipv6 support 2020-07-17 12:49:18 -07:00
ipsec.c selftest/net/ipsec.c: Remove unneeded semicolon 2021-03-05 13:00:38 -08:00
ipv6_flowlabel.c
ipv6_flowlabel.sh
ipv6_flowlabel_mgr.c
l2tp.sh selftests: Make l2tp.sh executable 2019-10-22 14:01:35 -07:00
msg_zerocopy.c selftests/net: relax cpu affinity requirement in msg_zerocopy test 2020-08-05 12:25:35 -07:00
msg_zerocopy.sh
netdevice.sh
nettest.c selftests: Add separate option to nettest for address binding 2021-01-14 16:26:50 -08:00
pmtu.sh tools: selftests: add test for changing routes with PTMU exceptions 2021-01-07 12:03:36 -08:00
psock_fanout.c selftests/net: test max_num_members, fanout_args in psock_fanout 2020-11-09 16:41:40 -08:00
psock_lib.h
psock_snd.c
psock_snd.sh selftests/net: improve descriptions for XFAIL cases in psock_snd.sh 2020-09-03 14:59:10 -07:00
psock_tpacket.c
reuseaddr_conflict.c
reuseaddr_ports_exhausted.c selftests/net: fix warnings on reuseaddr_ports_exhausted 2021-03-16 15:01:21 -07:00
reuseaddr_ports_exhausted.sh selftests: net: Add SO_REUSEADDR test to check if 4-tuples are fully utilized. 2020-03-12 12:08:09 -07:00
reuseport_addr_any.c selftests/net: add definition for SOL_DCCP to fix compilation errors for old libc 2020-03-21 20:23:10 -07:00
reuseport_addr_any.sh
reuseport_bpf.c
reuseport_bpf_cpu.c
reuseport_bpf_numa.c
reuseport_dualstack.c selftests: net: reuseport_dualstack: fix uninitalized parameter 2019-11-01 15:11:02 -07:00
route_localnet.sh selftests: add route_localnet test script 2019-06-24 09:02:47 -07:00
rtnetlink.sh selftests: rtnetlink: load fou module for kci_test_encap_fou() test 2020-10-19 17:55:29 -07:00
run_afpackettests selftests/net: skip psock_tpacket test if KALLSYMS was not enabled 2019-07-02 20:17:49 -04:00
run_netsocktests
rxtimestamp.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-08-02 01:02:12 -07:00
rxtimestamp.sh selftests/net: plug rxtimestamp test into kselftest framework 2020-06-23 20:36:46 -07:00
so_txtime.c selftests/net: so_txtime multi-host support 2021-03-31 17:48:21 -07:00
so_txtime.sh selftests/net: so_txtime multi-host support 2021-03-31 17:48:21 -07:00
socket.c
srv6_end_dt4_l3vpn_test.sh selftests: add selftest for the SRv6 End.DT4 behavior 2020-12-04 13:30:51 -08:00
srv6_end_dt6_l3vpn_test.sh selftests: add selftest for the SRv6 End.DT6 (VRF) behavior 2020-12-04 13:30:51 -08:00
tcp_fastopen_backup_key.c selftests/net: fix warnings in TFO key rotation selftest 2019-06-16 14:27:14 -07:00
tcp_fastopen_backup_key.sh selftests: net: tcp_fastopen_backup_key.sh: fix shellcheck issue 2019-08-15 11:34:32 -07:00
tcp_inq.c
tcp_mmap.c selftests: net: tcp_mmap: Use huge pages in receive path 2020-08-20 16:14:53 -07:00
test_blackhole_dev.sh blackhole_dev: add a selftest 2019-07-01 19:34:46 -07:00
test_bpf.sh
test_vxlan_fdb_changelink.sh
test_vxlan_under_vrf.sh selftests: test_vxlan_under_vrf: mute unnecessary error message 2020-12-14 17:38:12 -08:00
timestamping.c selftests/net: timestamping: add ptp v2 support 2020-11-02 14:21:39 -08:00
tls.c selftests/tls: fix selftest with CHACHA20-POLY1305 2021-02-03 18:47:36 -08:00
traceroute.sh selftest: net: add some traceroute tests 2019-11-06 17:35:49 -08:00
txring_overwrite.c selftests: txring_overwrite: fix incorrect test of mmap() return value 2019-07-08 15:39:38 -07:00
txtimestamp.c selftests: txtimestamp: fix compilation issue 2021-02-04 20:22:30 -08:00
txtimestamp.sh selftest: txtimestamp: fix net ns entry logic 2020-07-21 16:11:07 -07:00
udpgro.sh selftests: fix the return value for UDP GRO test 2021-01-05 16:59:21 -08:00
udpgro_bench.sh
udpgro_fwd.sh selftests: net: add UDP GRO forwarding self-tests 2021-03-30 17:06:50 -07:00
udpgso.c linux-kselftest-5.5-rc1-fixes 2019-11-25 14:58:09 -08:00
udpgso.sh
udpgso_bench.sh selftests/net: make udpgso_bench skip unsupported testcases 2019-06-19 17:33:47 -04:00
udpgso_bench_rx.c selftests: fix poll error in udpgro.sh 2020-12-10 13:22:19 -08:00
udpgso_bench_tx.c selftests: net: Fix printf format warnings on arm 2019-11-07 14:54:08 -07:00
unicast_extensions.sh selftests: add IPv4 unicast extensions tests 2021-01-26 17:52:16 -08:00
veth.sh self-tests: add veth tests 2021-04-11 16:39:28 -07:00
vrf-xfrm-tests.sh selftests: Add tests for vrf and xfrms 2020-04-22 19:31:40 -07:00
vrf_route_leaking.sh selftests: Add VRF route leaking tests 2020-10-14 17:14:28 -07:00
vrf_strict_mode_test.sh vrf: Handle CONFIG_SYSCTL not set 2020-07-23 17:51:04 -07:00
xfrm_policy.sh xfrm: Fix wraparound in xfrm_policy_addr_delta() 2021-01-04 10:35:09 +01:00