Files
linux/drivers
Andrew Melnychenko f6baca2d32 vhost: Added pad cleanup if vnet_hdr is not present.
When the Qemu launched with vhost but without tap vnet_hdr,
vhost tries to copy vnet_hdr from socket iter with size 0
to the page that may contain some trash.
That trash can be interpreted as unpredictable values for
vnet_hdr.
That leads to dropping some packets and in some cases to
stalling vhost routine when the vhost_net tries to process
packets and fails in a loop.

Qemu options:
  -netdev tap,vhost=on,vnet_hdr=off,...

Signed-off-by: Andrew Melnychenko <andrew@daynix.com>
Message-Id: <20240115194840.1183077-1-andrew@daynix.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2024-03-19 02:45:49 -04:00
..
2024-02-06 14:10:47 +08:00
2024-02-16 18:51:00 -05:00
2024-03-08 13:40:56 +10:00
2024-03-03 02:32:35 +00:00
2023-12-15 17:07:05 +01:00
2024-02-05 16:16:24 +01:00
2024-01-05 15:55:41 +05:30
2023-12-15 17:27:04 +01:00
2024-01-04 17:03:47 +01:00
2024-01-12 12:38:37 +01:00