Home
last modified time | relevance | path

Searched hist:bbc2c372 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/vhost/
H A Dvringh.cbbc2c372 Mon Mar 15 11:34:39 CDT 2021 Stefano Garzarella <sgarzare@redhat.com> vringh: reset kiov 'consumed' field in __vringh_iov()

__vringh_iov() overwrites the contents of riov and wiov, in fact it
resets the 'i' and 'used' fields, but also the 'consumed' field should
be reset to avoid an inconsistent state.

Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Link: https://lore.kernel.org/r/20210315163450.254396-4-sgarzare@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>