summaryrefslogtreecommitdiff
path: root/scripts/dev-needs.sh
diff options
context:
space:
mode:
authorTaehee Yoo <ap420073@gmail.com>2026-01-20 16:39:30 +0300
committerJakub Kicinski <kuba@kernel.org>2026-01-22 06:20:30 +0300
commit04708606fd7bdc34b69089a4ff848ff36d7088f9 (patch)
treeed7031d410466ed65c14f849dd1cdae956afcb02 /scripts/dev-needs.sh
parent8215794403d264739cc676668087512950b2ff31 (diff)
downloadlinux-04708606fd7bdc34b69089a4ff848ff36d7088f9.tar.xz
selftests: net: amt: wait longer for connection before sending packets
Both send_mcast4() and send_mcast6() use sleep 2 to wait for the tunnel connection between the gateway and the relay, and for the listener socket to be created in the LISTENER namespace. However, tests sometimes fail because packets are sent before the connection is fully established. Increase the waiting time to make the tests more reliable, and use wait_local_port_listen() to explicitly wait for the listener socket. Fixes: c08e8baea78e ("selftests: add amt interface selftest script") Signed-off-by: Taehee Yoo <ap420073@gmail.com> Link: https://patch.msgid.link/20260120133930.863845-1-ap420073@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/dev-needs.sh')
0 files changed, 0 insertions, 0 deletions