Skip to content
Snippets Groups Projects
Commit b56d1003 authored by Eric Northup's avatar Eric Northup Committed by James Bottomley
Browse files

[SCSI] virtio_scsi: fix memory leak on full queue condition.


virtscsi_queuecommand was leaking memory when the virtio queue was full.

Tested: Guest operates correctly even with very small queue sizes, validated
we're not leaking kmalloc-192 sized allocations anymore.

Signed-off-by: default avatarEric Northup <digitaleric@google.com>
Acked-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent 0b9d37ae
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment