]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests: net: use setup_ns for SRv6 tests and remove rp_filter configuration
authorHangbin Liu <liuhangbin@gmail.com>
Thu, 8 May 2025 08:19:08 +0000 (08:19 +0000)
committerJakub Kicinski <kuba@kernel.org>
Tue, 13 May 2025 01:10:55 +0000 (18:10 -0700)
commit3f68f59e9593a3106bb09dc813ad39ea73b4a8bd
treebacdcbaa378039ca1ff75621752cf2782fe51614
parent69ea46e7d00ec8b72f0c0c71569a8995bcc171ca
selftests: net: use setup_ns for SRv6 tests and remove rp_filter configuration

Some SRv6 tests manually set up network namespaces and disable rp_filter.
Since the setup_ns library function already handles rp_filter configuration,
convert these SRv6 tests to use setup_ns and remove the redundant rp_filter
settings.

Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Acked-by: Andrea Mayer <andrea.mayer@uniroma2.it>
Link: https://patch.msgid.link/20250508081910.84216-5-liuhangbin@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/srv6_end_dt46_l3vpn_test.sh
tools/testing/selftests/net/srv6_end_dt4_l3vpn_test.sh
tools/testing/selftests/net/srv6_end_next_csid_l3vpn_test.sh
tools/testing/selftests/net/srv6_end_x_next_csid_l3vpn_test.sh
tools/testing/selftests/net/srv6_hencap_red_l3vpn_test.sh
tools/testing/selftests/net/srv6_hl2encap_red_l2vpn_test.sh