aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@kernel.org>2025-09-09 20:58:27 -0600
committerJakub Kicinski <kuba@kernel.org>2025-09-11 17:57:21 -0700
commit53d591730ea34f97a82f7ec6e7c987ca6e34dc21 (patch)
treec715ea6609b202708bf1cbb3950cb2b03524c350 /tools/testing
parentMerge tag 'wireless-next-2025-09-11' of https://git.kernel.org/pub/scm/linux/... (diff)
downloadlinux-53d591730ea34f97a82f7ec6e7c987ca6e34dc21.tar.gz
linux-53d591730ea34f97a82f7ec6e7c987ca6e34dc21.zip
selftests: Disable dad for ipv6 in fcnal-test.sh
Constrained test environment; duplicate address detection is not needed and causes races so disable it. Signed-off-by: David Ahern <dsahern@kernel.org> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20250910025828.38900-1-dsahern@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing')
-rwxr-xr-xtools/testing/selftests/net/fcnal-test.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/testing/selftests/net/fcnal-test.sh b/tools/testing/selftests/net/fcnal-test.sh
index 0883da74ab7b..8df67ecec1d6 100755
--- a/tools/testing/selftests/net/fcnal-test.sh
+++ b/tools/testing/selftests/net/fcnal-test.sh
@@ -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.