cloud-hypervisor/vm-virtio
Stefano Garzarella 3ce4bd5ec8 vsock: absorb spurious EPOLLOUT events
This patch has been cherry-picked from the Firecracker tree. The
reference commit is 109e631566350867dafa4b16c3919dfd1533eeea.

This commit changes the vsock connection state machine behavior to absorb
any EWOULDBLOCK errors recevied while handling an EPOLLOUT event. Previously,
this condition would lead to immediate connection termination.

Signed-off-by: Dan Horobeanu <dhr@amazon.com>
Signed-off-by: Gabriel Ionescu <gbi@amazon.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
2020-06-16 22:02:06 +02:00
..
src vsock: absorb spurious EPOLLOUT events 2020-06-16 22:02:06 +02:00
Cargo.toml vfio: Switch to the vfio-ioctls crate ch branch 2020-06-04 08:48:55 +02:00