twx-linux/tools/testing/selftests/net
Andrea Mayer 46ef24c60f selftests: srv6: make srv6_end_dt46_l3vpn_test more robust
On some distributions, the rp_filter is automatically set (=1) by
default on a netdev basis (also on VRFs).
In an SRv6 End.DT46 behavior, decapsulated IPv4 packets are routed using
the table associated with the VRF bound to that tunnel. During lookup
operations, the rp_filter can lead to packet loss when activated on the
VRF.
Therefore, we chose to make this selftest more robust by explicitly
disabling the rp_filter during tests (as it is automatically set by some
Linux distributions).

Fixes: 03a0b567a03d ("selftests: seg6: add selftest for SRv6 End.DT46 Behavior")
Reported-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: Andrea Mayer <andrea.mayer@uniroma2.it>
Tested-by: Hangbin Liu <liuhangbin@gmail.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-04-28 09:51:40 +01:00
..
af_unix af_unix: selftest: Fix the size of the parameter to connect() 2023-01-09 08:16:13 +00:00
forwarding selftests: forwarding: add a test for MAC Merge layer 2023-04-20 20:03:21 -07:00
hsr selftests: Add a basic HSR test. 2022-12-01 20:26:22 -08:00
mptcp selftests: mptcp: join: fix ShellCheck warnings 2023-04-17 08:25:33 +01:00
openvswitch selftests: openvswitch: add support for upcall testing 2023-04-17 08:12:33 +01:00
.gitignore selftest: Add test for bind() conflicts. 2023-03-15 00:24:10 -07:00
altnames.sh
amt.sh
arp_ndisc_evict_nocarrier.sh selftests: net: return non-zero for failures reported in arp_ndisc_evict_nocarrier 2023-01-01 11:59:53 +00:00
arp_ndisc_untracked_subnets.sh
bareudp.sh
big_tcp.sh selftests: add a selftest for big tcp 2023-03-08 14:25:42 +01:00
bind_bhash.c
bind_bhash.sh
bind_timewait.c tcp: Add selftest for bind() and TIME_WAIT. 2022-12-30 07:25:53 +00:00
bind_wildcard.c selftest: Add test for bind() conflicts. 2023-03-15 00:24:10 -07:00
cmsg_ipv6.sh selftest: net: Improve IPV6_TCLASS/IPV6_HOPLIMIT tests apparmor compatibility 2023-01-28 13:55:12 +00:00
cmsg_sender.c selftests: net: fix cmsg_so_mark.sh test hang 2022-12-30 07:37:26 +00:00
cmsg_so_mark.sh
cmsg_time.sh
config Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-04-13 16:04:28 -07:00
csum.c selftests/net: add csum offload test 2022-11-29 21:24:32 -08:00
devlink_port_split.py selftests: net: devlink_port_split.py: skip test if no suitable device available 2023-03-16 17:38:05 -07:00
drop_monitor_tests.sh
fcnal-test.sh selftests/net: Find nettest in current directory 2022-11-21 12:58:26 +00:00
fib_nexthop_multiprefix.sh
fib_nexthop_nongw.sh
fib_nexthops.sh ipv4: Fix route deletion when nexthop info is not specified 2022-11-28 16:56:04 -08:00
fib_rule_tests.sh selftests: fib_rule_tests: Test UDP and TCP connections with DSCP rules. 2023-02-09 22:49:04 -08:00
fib_tests.sh selftests: fib_tests: Add test cases for IPv4/IPv6 in route notify 2023-02-23 10:54:13 +01:00
fib-onlink-tests.sh
fin_ack_lat.c
fin_ack_lat.sh
gre_gso.sh
gro.c
gro.sh
hwtstamp_config.c
icmp_redirect.sh
icmp.sh
in_netns.sh
io_uring_zerocopy_tx.c
io_uring_zerocopy_tx.sh selftests/net: don't tests batched TCP io_uring zc 2022-11-02 08:27:24 -06:00
ioam6_parser.c
ioam6.sh
ip6_gre_headroom.sh
ip_defrag.c
ip_defrag.sh
ip_local_port_range.c selftests/net: Cover the IP_LOCAL_PORT_RANGE socket option 2023-01-25 22:45:00 -08:00
ip_local_port_range.sh selftests/net: Cover the IP_LOCAL_PORT_RANGE socket option 2023-01-25 22:45:00 -08:00
ipsec.c
ipv6_flowlabel_mgr.c
ipv6_flowlabel.c
ipv6_flowlabel.sh
l2_tos_ttl_inherit.sh selftests/net: l2_tos_ttl_inherit.sh: Ensure environment cleanup on failure. 2023-01-10 10:13:52 +01:00
l2tp.sh
Makefile selftests: net: Add bridge neighbor suppression test 2023-04-21 08:25:50 +01:00
msg_zerocopy.c
msg_zerocopy.sh
nat6to4.c selftests/net: mv bpf/nat6to4.c to net folder 2023-01-19 13:25:53 +01:00
ndisc_unsolicited_na_test.sh
netdevice.sh
nettest.c selftests: fib_rule_tests: Test UDP and TCP connections with DSCP rules. 2023-02-09 22:49:04 -08:00
pmtu.sh selftests/net: Find nettest in current directory 2022-11-21 12:58:26 +00:00
psock_fanout.c
psock_lib.h
psock_snd.c
psock_snd.sh
psock_tpacket.c
reuseaddr_conflict.c
reuseaddr_ports_exhausted.c
reuseaddr_ports_exhausted.sh
reuseport_addr_any.c
reuseport_addr_any.sh
reuseport_bpf_cpu.c
reuseport_bpf_numa.c
reuseport_bpf.c
reuseport_dualstack.c
route_localnet.sh
rps_default_mask.sh selftests: net: rps_default_mask.sh: delete veth link specifically 2023-04-05 18:59:32 -07:00
rtnetlink.sh selftests: rtnetlink: Fix do_test_address_proto() 2023-03-30 23:21:56 -07:00
run_afpackettests
run_netsocktests
rxtimestamp.c
rxtimestamp.sh
sctp_hello.c selftests: add a selftest for sctp vrf 2022-11-18 11:42:54 +00:00
sctp_vrf.sh selftests: add a selftest for sctp vrf 2022-11-18 11:42:54 +00:00
settings
setup_loopback.sh
setup_veth.sh
sk_bind_sendto_listen.c
sk_connect_zero_addr.c
so_incoming_cpu.c selftest: Add test for SO_INCOMING_CPU. 2022-10-25 11:35:16 +02:00
so_netns_cookie.c
so_txtime.c
so_txtime.sh
socket.c
srv6_end_dt4_l3vpn_test.sh
srv6_end_dt6_l3vpn_test.sh
srv6_end_dt46_l3vpn_test.sh selftests: srv6: make srv6_end_dt46_l3vpn_test more robust 2023-04-28 09:51:40 +01:00
srv6_end_flavors_test.sh selftests: seg6: add selftest for PSP flavor in SRv6 End behavior 2023-02-16 13:18:06 +01:00
srv6_end_next_csid_l3vpn_test.sh
srv6_hencap_red_l3vpn_test.sh
srv6_hl2encap_red_l2vpn_test.sh
stress_reuseport_listen.c
stress_reuseport_listen.sh
tap.c
tcp_fastopen_backup_key.c
tcp_fastopen_backup_key.sh
tcp_inq.c
tcp_mmap.c selftests/net: fix typo in tcp_mmap 2023-04-06 13:19:25 +02:00
test_blackhole_dev.sh
test_bpf.sh
test_bridge_neigh_suppress.sh selftests: net: Add bridge neighbor suppression test 2023-04-21 08:25:50 +01:00
test_ingress_egress_chaining.sh selftests: add selftest for chaining of tc ingress handling to egress 2022-10-19 14:04:36 +01:00
test_vxlan_fdb_changelink.sh
test_vxlan_mdb.sh selftests: net: Add VXLAN MDB test 2023-03-17 08:05:50 +00:00
test_vxlan_under_vrf.sh
test_vxlan_vnifiltering.sh selftests: Fix failing VXLAN VNI filtering test 2023-02-08 16:54:03 -08:00
timestamping.c
tls.c selftests: tls: add a test for queuing data before setting the ULP 2023-03-27 08:54:02 +01:00
toeplitz_client.sh
toeplitz.c selftests/net: toeplitz: fix race on tpacket_v3 block close 2023-01-19 09:27:15 -08:00
toeplitz.sh selftests: net: Use "grep -E" instead of "egrep" 2022-12-02 20:56:41 -08:00
traceroute.sh
tun.c
txring_overwrite.c
txtimestamp.c
txtimestamp.sh
udpgro_bench.sh selftests/net: fix missing xdp_dummy 2022-11-18 12:01:14 +00:00
udpgro_frglist.sh selftests/net: mv bpf/nat6to4.c to net folder 2023-01-19 13:25:53 +01:00
udpgro_fwd.sh selftests/net: fix missing xdp_dummy 2022-11-18 12:01:14 +00:00
udpgro.sh selftests/net: fix missing xdp_dummy 2022-11-18 12:01:14 +00:00
udpgso_bench_rx.c selftests/net: Interpret UDP_GRO cmsg data as an int value 2023-02-20 08:27:07 +00:00
udpgso_bench_tx.c selftests: net: udpgso_bench_tx: Cater for pending datagrams zerocopy benchmarking 2023-02-02 13:29:51 +01:00
udpgso_bench.sh selftests: net: udpgso_bench: Fix racing bug between the rx/tx programs 2023-02-02 13:29:51 +01:00
udpgso.c
udpgso.sh
unicast_extensions.sh
veth.sh selftests/net: fix missing xdp_dummy 2022-11-18 12:01:14 +00:00
vrf_route_leaking.sh
vrf_strict_mode_test.sh
vrf-xfrm-tests.sh
xfrm_policy.sh