Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
Pull virtio bugfix from Michael Tsirkin: "A bugfix for error handling in virtio" * tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost: virtio_ring: fix num_free handling in error case
This commit is contained in:
@@ -428,8 +428,6 @@ unmap_release:
|
||||
i = virtio16_to_cpu(_vq->vdev, vq->vring.desc[i].next);
|
||||
}
|
||||
|
||||
vq->vq.num_free += total_sg;
|
||||
|
||||
if (indirect)
|
||||
kfree(desc);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user