selftests: Disable dad for ipv6 in fcnal-test.sh
Subsystems (3)
PATCH 1/2 selftests: Disable dad for ipv6 in fcnal-test.sh
Constrained test environment; duplicate address detection is not needed and causes races so disable it.
--- tools/testing/selftests/net/fcnal-test.sh | 2 ++ 1 file changed, 2 insertions(+)
tools/testing/selftests/net/fcnal-test.sh +2 -0
@@ -424,6 +424,8 @@ create_ns() ip netns exec ${ns} sysctl -qw net.ipv6.conf.all.keep_addr_on_down=1 ip netns exec ${ns} sysctl -qw net.ipv6.conf.all.forwarding=1 ip netns exec ${ns} sysctl -qw net.ipv6.conf.default.forwarding=1 + ip netns exec ${ns} sysctl -qw net.ipv6.conf.default.accept_dad=0 + ip netns exec ${ns} sysctl -qw net.ipv6.conf.all.accept_dad=0 } # create veth pair to connect namespaces and apply addresses.
Signature · 1 line
2.43.0
PATCH 2/2 selftests: Replace sleep with slowwait
Replace the sleep in kill_procs with slowwait.
--- tools/testing/selftests/net/fcnal-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/net/fcnal-test.sh +1 -1
@@ -189,7 +189,7 @@ show_hint() kill_procs() { killall nettest ping ping6 >/dev/null 2>&1 - sleep 1 + slowwait 2 sh -c 'test -z "$(pgrep '"'^(nettest|ping|ping6)$'"')"' } set_ping_group()
Signature · 1 line
2.43.0
Re: [PATCH net-next 2/2] selftests: Replace sleep with slowwait
Quoted 3 lines · David Ahern
Replace the sleep in
kill_procswith slowwait.Signed-off-by David Ahern <[email protected]>
Quoted 4 lines · David Ahern
Constrained test environment; duplicate address detection is not needed and causes races so disable it.
Signed-off-by David Ahern <[email protected]>
This series was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This series was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 7 lines · On Tue, 9 Sep 2025 20:58:27 -0600 you wrote:
Constrained test environment; duplicate address detection is not needed and causes races so disable it.
Signed-off-by David Ahern <[email protected]>--- tools/testing/selftests/net/fcnal-test.sh | 2 ++ 1 file changed, 2 insertions(+)
Here is the summary with links:
- [net-next,1/2] selftests: Disable dad for ipv6 in fcnal-test.sh
https://git.kernel.org/netdev/net-next/c/53d591730ea3 - [net-next,2/2] selftests: Replace sleep with slowwait https://git.kernel.org/netdev/net-next/c/2f186dd5585c
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html