diff options
| author | Michal Luczaj <[email protected]> | 2025-05-21 23:18:25 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2025-05-27 09:05:22 +0000 |
| commit | 393d070135ad01f954ca8289c3ee134950e2d0c8 (patch) | |
| tree | 188c3a612cd623369d2a216197912cda4c7a8555 /tools/net/ynl/pyynl/lib/ynl.py | |
| parent | vsock/test: Introduce enable_so_linger() helper (diff) | |
| download | kernel-393d070135ad01f954ca8289c3ee134950e2d0c8.tar.gz kernel-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 <[email protected]>
Reviewed-by: Stefano Garzarella <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/net/ynl/pyynl/lib/ynl.py')
0 files changed, 0 insertions, 0 deletions
