mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
When writev returns fewer bytes than vnet_hdr_len the packet is truncated. Log the error and drop it instead of returning a fatal InvalidVirtioNetHeader error that would crash the worker thread. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>