search for: d2e001f92e6

Displaying 1 result from an estimated 1 matches for "d2e001f92e6".

Did you mean: d2e001f92e6e
2019 Sep 06
0
[PATCH] virtio_ring: fix unmap of indirect descriptors
.... document when does it trigger and what is the effect of the fix. Thanks! > --- > drivers/virtio/virtio_ring.c | 10 +++++++--- > 1 file changed, 7 insertions(+), 3 deletions(-) > > diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c > index c8be1c4f5b55..d2e001f92e6e 100644 > --- a/drivers/virtio/virtio_ring.c > +++ b/drivers/virtio/virtio_ring.c > @@ -566,13 +566,17 @@ static inline int virtqueue_add_split(struct virtqueue *_vq, > > unmap_release: > err_idx = i; > - i = head; > + > + if (indirect) > + i = 0; > + else &gt...