On 08/14/2015 02:01 PM, Bart Van Assche wrote: > scsi_host_alloc() not only allocates memory for a SCSI host but also > creates the scsi_eh_ kernel thread and the scsi_tmf_ workqueue. > Stop these threads if login fails by calling scsi_host_put(). > > Reported-by: Konstantin Krotov > Fixes: fb49c8bbaae7 ("Remove an extraneous scsi_host_put() from an error path") > Signed-off-by: Bart Van Assche > Cc: Sagi Grimberg > Cc: Sebastian Parschauer > Cc: #v3.19 Thanks, added to the srp branch. -- Doug Ledford GPG KeyID: 0E572FDD