Skip to content

tcm_vhost fix cmd leak and send bad target

Asias He kvm virtualization 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 3 repliesIn review
  2. v13 patches 1 replySuperseded

Changes in v2 from the cover letter

- Fix the order of out and head parameter.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4tcm_vhost: Remove double check of responsedrivers/vhost/tcm_vhost.c+0 -90 replies
2/4tcm_vhost: Fix tv_cmd leak in vhost_scsi_handle_vqdrivers/vhost/tcm_vhost.c+7 -20 replies
3/4tcm_vhost: Add vhost_scsi_send_bad_target() helperdrivers/vhost/tcm_vhost.c+18 -130 replies
4/4tcm_vhost: Send bad target to guest when cmd failsdrivers/vhost/tcm_vhost.c+6 -40 replies
4/4tcm_vhost: Send bad target to guest when cmd failsdrivers/vhost/tcm_vhost.c+6 -40 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMichael S. Tsirkin
SeriesA-b
1/4
2/4
3/4
4/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] tcm_vhost fix cmd leak and send bad target

v2:
- Fix the order of out and head parameter.

Asias He (4):
tcm_vhost: Remove double check of response
tcm_vhost: Fix tv_cmd leak in vhost_scsi_handle_vq
tcm_vhost: Add vhost_scsi_send_bad_target() helper
tcm_vhost: Send bad target to guest when cmd fails

 drivers/vhost/tcm_vhost.c | 53 +++++++++++++++++++++++++----------------------
 1 file changed, 28 insertions(+), 25 deletions(-)
Signature · 1 line
1.8.1.4