Re: [PATCH v2 0/4] tcm_vhost fix cmd leak and send bad target

2013-04-11 Thread Asias He
On Thu, Apr 11, 2013 at 10:22:33AM +0300, Michael S. Tsirkin wrote: > On Wed, Apr 10, 2013 at 02:19:02PM -0700, Nicholas A. Bellinger wrote: > > On Wed, 2013-04-10 at 15:06 +0800, Asias He wrote: > > > v2: > > > - Fix the order of out and head parameter. > > > > > > Asias He (4): > > > tcm_vhost

Re: [PATCH v2 0/4] tcm_vhost fix cmd leak and send bad target

2013-04-11 Thread Michael S. Tsirkin
On Wed, Apr 10, 2013 at 02:19:02PM -0700, Nicholas A. Bellinger wrote: > On Wed, 2013-04-10 at 15:06 +0800, Asias He wrote: > > 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_h

Re: [PATCH v2 0/4] tcm_vhost fix cmd leak and send bad target

2013-04-10 Thread Nicholas A. Bellinger
On Wed, 2013-04-10 at 15:06 +0800, Asias He wrote: > 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 b

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

2013-04-10 Thread Asias He
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