aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/crypto/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorMichal Luczaj <mhal@rbox.co>2025-05-22 01:18:25 +0200
committerPaolo Abeni <pabeni@redhat.com>2025-05-27 11:05:22 +0200
commit393d070135ad01f954ca8289c3ee134950e2d0c8 (patch)
tree188c3a612cd623369d2a216197912cda4c7a8555 /lib/crypto/mpi/mpi-sub-ui.c
parentvsock/test: Introduce enable_so_linger() helper (diff)
downloadwireguard-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 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions