2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-22 20:43:56 +08:00
linux-next/drivers/infiniband/ulp
Bart Van Assche bc44bd1d86 IB/srp: Stop the scsi_eh_<n> and scsi_tmf_<n> threads if login fails
scsi_host_alloc() not only allocates memory for a SCSI host but also
creates the scsi_eh_<n> kernel thread and the scsi_tmf_<n> workqueue.
Stop these threads if login fails by calling scsi_host_put().

Reported-by: Konstantin Krotov <kkv@clodo.ru>
Fixes: fb49c8bbaa ("Remove an extraneous scsi_host_put() from an error path")
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Sagi Grimberg <sagig@mellanox.com>
Cc: Sebastian Parschauer <sebastian.riemer@profitbricks.com>
Cc: <stable@vger.kernel.org> #v3.19
Signed-off-by: Doug Ledford <dledford@redhat.com>
2015-08-30 18:12:24 -04:00
..
ipoib IB/cm: Remove compare_data checks 2015-08-30 15:48:24 -04:00
iser IB/iser: Convert to ib_alloc_mr 2015-08-30 18:08:44 -04:00
isert iser-target: Convert to ib_alloc_mr 2015-08-30 18:08:45 -04:00
srp IB/srp: Stop the scsi_eh_<n> and scsi_tmf_<n> threads if login fails 2015-08-30 18:12:24 -04:00
srpt IB/cm: Remove compare_data checks 2015-08-30 15:48:24 -04:00
Makefile IB: Allow build of hw/ and ulp/ subdirectories independently 2014-06-02 14:51:12 -07:00