[PATCH net-next 6/6] selftests: mptcp: remove rp_filter configuration

Hangbin Liu posted 6 patches 7 months, 1 week ago
There is a newer version of this series
[PATCH net-next 6/6] selftests: mptcp: remove rp_filter configuration
Posted by Hangbin Liu 7 months, 1 week ago
Remove the manual rp_filter configuration from MPTCP tests, as it is now
handled by setup_ns.

Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
---
 tools/testing/selftests/net/mptcp/mptcp_lib.sh | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tools/testing/selftests/net/mptcp/mptcp_lib.sh b/tools/testing/selftests/net/mptcp/mptcp_lib.sh
index 99c87cd6e255..55212188871e 100644
--- a/tools/testing/selftests/net/mptcp/mptcp_lib.sh
+++ b/tools/testing/selftests/net/mptcp/mptcp_lib.sh
@@ -479,8 +479,6 @@ mptcp_lib_ns_init() {
 	local netns
 	for netns in "${@}"; do
 		ip netns exec "${!netns}" sysctl -q net.mptcp.enabled=1
-		ip netns exec "${!netns}" sysctl -q net.ipv4.conf.all.rp_filter=0
-		ip netns exec "${!netns}" sysctl -q net.ipv4.conf.default.rp_filter=0
 	done
 }
 
-- 
2.46.0
Re: [PATCH net-next 6/6] selftests: mptcp: remove rp_filter configuration
Posted by Matthieu Baerts 7 months, 1 week ago
Hi Hangbin,

On 07/05/2025 15:18, Hangbin Liu wrote:
> Remove the manual rp_filter configuration from MPTCP tests, as it is now
> handled by setup_ns.

Thanks!

Acked-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>

Cheers,
Matt
-- 
Sponsored by the NGI0 Core fund.