aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/gdb/linux/stackdepot.py
diff options
context:
space:
mode:
authorStefano Garzarella <sgarzare@redhat.com>2025-05-14 16:19:26 +0200
committerJakub Kicinski <kuba@kernel.org>2025-05-16 18:01:32 -0700
commit135a8a4d25a2937b2727e3857471f305d78496da (patch)
tree596eeb2c47ba087f0a697c846afb98680bd47191 /scripts/gdb/linux/stackdepot.py
parentvsock/test: add timeout_usleep() to allow sleeping in timeout sections (diff)
downloadwireguard-linux-135a8a4d25a2937b2727e3857471f305d78496da.tar.xz
wireguard-linux-135a8a4d25a2937b2727e3857471f305d78496da.zip
vsock/test: retry send() to avoid occasional failure in sigpipe test
When the other peer calls shutdown(SHUT_RD), there is a chance that the send() call could occur before the message carrying the close information arrives over the transport. In such cases, the send() might still succeed. To avoid this race, let's retry the send() call a few times, ensuring the test is more reliable. Sleep a little before trying again to avoid flooding the other peer and filling its receive buffer, causing false-negative. Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> Link: https://patch.msgid.link/20250514141927.159456-3-sgarzare@redhat.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/stackdepot.py')
0 files changed, 0 insertions, 0 deletions