Skip to content

Commit 53d5917

Browse files
dsahernkuba-moo
authored andcommitted
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 <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent d103f26 commit 53d5917

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/testing/selftests/net/fcnal-test.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,8 @@ create_ns()
424424
ip netns exec ${ns} sysctl -qw net.ipv6.conf.all.keep_addr_on_down=1
425425
ip netns exec ${ns} sysctl -qw net.ipv6.conf.all.forwarding=1
426426
ip netns exec ${ns} sysctl -qw net.ipv6.conf.default.forwarding=1
427+
ip netns exec ${ns} sysctl -qw net.ipv6.conf.default.accept_dad=0
428+
ip netns exec ${ns} sysctl -qw net.ipv6.conf.all.accept_dad=0
427429
}
428430

429431
# create veth pair to connect namespaces and apply addresses.

0 commit comments

Comments
 (0)