summaryrefslogtreecommitdiffstats
path: root/drivers/vhost/vhost.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/vhost/vhost.c')
-rw-r--r--drivers/vhost/vhost.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c
index 51e4c1eeec4f..94dbd25caa30 100644
--- a/drivers/vhost/vhost.c
+++ b/drivers/vhost/vhost.c
@@ -1603,6 +1603,7 @@ void vhost_zerocopy_callback(struct ubuf_info *ubuf)
1603 struct vhost_ubuf_ref *ubufs = ubuf->ctx; 1603 struct vhost_ubuf_ref *ubufs = ubuf->ctx;
1604 struct vhost_virtqueue *vq = ubufs->vq; 1604 struct vhost_virtqueue *vq = ubufs->vq;
1605 1605
1606 vhost_poll_queue(&vq->poll);
1606 /* set len = 1 to mark this desc buffers done DMA */ 1607 /* set len = 1 to mark this desc buffers done DMA */
1607 vq->heads[ubuf->desc].len = VHOST_DMA_DONE_LEN; 1608 vq->heads[ubuf->desc].len = VHOST_DMA_DONE_LEN;
1608 kref_put(&ubufs->kref, vhost_zerocopy_done_signal); 1609 kref_put(&ubufs->kref, vhost_zerocopy_done_signal);