git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6da51c
)
tcm_vhost: Fix tv_cmd leak in vhost_scsi_handle_vq
author
Asias He
<asias@redhat.com>
Wed, 10 Apr 2013 07:06:14 +0000
(15:06 +0800)
committer
Nicholas Bellinger
<nab@linux-iscsi.org>
Thu, 11 Apr 2013 08:48:27 +0000
(
01:48
-0700)
If we fail to submit the allocated tv_vmd to tcm_vhost_submission_work,
we will leak the tv_vmd. Free tv_vmd on fail path.
Signed-off-by: Asias He <asias@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/vhost/tcm_vhost.c
patch
|
blob
|
history
diff --cc
drivers/vhost/tcm_vhost.c
Simple merge