Commit bda75743 authored by Vincent Whitchurch's avatar Vincent Whitchurch Committed by Keir Fraser
Browse files

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: default avatarVincent Whitchurch <vincent.whitchurch@axis.com>
Link: https://lore.kernel.org/r/20211026133100.17541-1-vincent.whitchurch@axis.com


Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Acked-by: default avatarJason Wang <jasowang@redhat.com>
(cherry picked from commit 890d3356)
Bug: 196772804
Signed-off-by: default avatarKeir Fraser <keirf@google.com>
Change-Id: I1f7634d67e2a6f5f18a727d0ab381a7ad6beb165
parent 4eba9e68
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment