commit | b56d1003512c33aa1752d84e3fa078bc76b15bf8 | [log] [tgz] |
---|---|---|
author | Eric Northup <digitaleric@google.com> | Thu Nov 08 01:55:50 2012 -0800 |
committer | James Bottomley <JBottomley@Parallels.com> | Tue Nov 27 08:59:45 2012 +0400 |
tree | c3578ca43856c4f652d5425e238c4c01973308af | |
parent | 0b9d37aeb8bdf20ed2f994cd87eefb44e8ece382 [diff] |
[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: Eric Northup <digitaleric@google.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>