UPSTREAM: virtio-ring: fix DMA metadata flags
The flags are currently overwritten, leading to the wrong direction being passed to the DMA unmap functions. Fixes: 72b5e895 ("virtio-ring: store DMA metadata in desc_extra for split virtqueue") Signed-off-by:Vincent Whitchurch <vincent.whitchurch@axis.com> Link: https://lore.kernel.org/r/20211026133100.17541-1-vincent.whitchurch@axis.com Signed-off-by:
Michael S. Tsirkin <mst@redhat.com> Acked-by:
Jason Wang <jasowang@redhat.com> (cherry picked from commit 890d3356) Bug: 196772804 Signed-off-by:
Keir Fraser <keirf@google.com> Change-Id: I1f7634d67e2a6f5f18a727d0ab381a7ad6beb165
Loading
Please sign in to comment