diff options
author | 2025-05-22 01:18:25 +0200 | |
---|---|---|
committer | 2025-05-27 11:05:22 +0200 | |
commit | 393d070135ad01f954ca8289c3ee134950e2d0c8 (patch) | |
tree | 188c3a612cd623369d2a216197912cda4c7a8555 /lib/crypto/mpi/mpi-mod.c | |
parent | vsock/test: Introduce enable_so_linger() helper (diff) | |
download | wireguard-linux-393d070135ad01f954ca8289c3ee134950e2d0c8.tar.xz wireguard-linux-393d070135ad01f954ca8289c3ee134950e2d0c8.zip |
vsock/test: Add test for an unexpectedly lingering close()
There was an issue with SO_LINGER: instead of blocking until all queued
messages for the socket have been successfully sent (or the linger timeout
has been reached), close() would block until packets were handled by the
peer.
Add a test to alert on close() lingering when it should not.
Signed-off-by: Michal Luczaj <mhal@rbox.co>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Link: https://patch.msgid.link/20250522-vsock-linger-v6-5-2ad00b0e447e@rbox.co
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions