[Devel] [PATCH RHEL10 COMMIT] ms/selftests: Disable dad for ipv6 in fcnal-test.sh
Konstantin Khorenko
khorenko at virtuozzo.com
Tue Dec 23 12:49:34 MSK 2025
The commit is pushed to "branch-rh10-6.12.0-55.13.1.3.x.vz10-ovz" and will appear at git at bitbucket.org:openvz/vzkernel.git
after rh10-6.12.0-55.13.1.3.26.vz10
------>
commit 246a03ee12c43766fff35f6fec7c3bd99fca93fe
Author: David Ahern <dsahern at kernel.org>
Date: Tue Dec 16 21:04:16 2025 +0000
ms/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 at kernel.org>
Reviewed-by: Simon Horman <horms at kernel.org>
Link: https://patch.msgid.link/20250910025828.38900-1-dsahern@kernel.org
Signed-off-by: Jakub Kicinski <kuba at kernel.org>
https://virtuozzo.atlassian.net/browse/VSTOR-120995
(cherry picked from commit 53d591730ea34f97a82f7ec6e7c987ca6e34dc21)
Signed-off-by: Aleksei Oladko <aleksey.oladko at virtuozzo.com>
Feature: fix ms/selftests
---
tools/testing/selftests/net/fcnal-test.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/testing/selftests/net/fcnal-test.sh b/tools/testing/selftests/net/fcnal-test.sh
index 46324e73f5035..a7edf43245c2a 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.
More information about the Devel
mailing list