mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-05 19:31:57 -04:00
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>
This commit is contained in:
parent
42207042a3
commit
731088e8cb
1 changed files with 2 additions and 0 deletions
|
|
@ -376,6 +376,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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue