mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
When readv from the TAP returns EINVAL the guest posted a buffer too small for the vnet_hdr. Return len 0 to the used ring and continue instead of killing the worker thread. Also move go_to_previous_position into the appropriate error branches only. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>