Re: [PATCH net-next v4 1/3] vsock/virtio: Linger on unsent data

2025-05-06 Thread Stefano Garzarella
On Thu, May 01, 2025 at 10:05:22AM +0200, Michal Luczaj wrote: Currently vsock's lingering effectively boils down to waiting (or timing out) until packets are consumed or dropped by the peer; be it by receiving the data, closing or shutting down the connection. To align with the semantics descri

[PATCH net-next v4 1/3] vsock/virtio: Linger on unsent data

2025-05-01 Thread Michal Luczaj
Currently vsock's lingering effectively boils down to waiting (or timing out) until packets are consumed or dropped by the peer; be it by receiving the data, closing or shutting down the connection. To align with the semantics described in the SO_LINGER section of man socket(7) and to mimic AF_INE