summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@kernel.org>2025-09-09 20:58:27 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-11-13 15:34:23 -0500
commitce0145574d7483177c14ecdee8cf5bf3369f37e9 (patch)
tree0fa030feb7a9bd51d97449503362d9d6253b0d79 /tools/testing/selftests/net
parent32718b63671ec81fc410e666f962e54afb0e2782 (diff)
downloadlinux-ce0145574d7483177c14ecdee8cf5bf3369f37e9.tar.gz
linux-ce0145574d7483177c14ecdee8cf5bf3369f37e9.tar.bz2
linux-ce0145574d7483177c14ecdee8cf5bf3369f37e9.zip
selftests: Disable dad for ipv6 in fcnal-test.sh
[ Upstream commit 53d591730ea34f97a82f7ec6e7c987ca6e34dc21 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/testing/selftests/net')
-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 46324e73f503..a7edf43245c2 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.