summaryrefslogtreecommitdiff
path: root/drivers/char/mspec.c
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@sandisk.com>2015-08-14 11:01:09 -0700
committerDoug Ledford <dledford@redhat.com>2015-08-30 18:12:24 -0400
commitbc44bd1d864664f3658352c6aaaa02557d49165d (patch)
treec00f8ca60fed5e7aaddf60c5c51970e5eee721d7 /drivers/char/mspec.c
parent713ef24e41757561c7f0bfc9bf4436f7e4a5b527 (diff)
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: fb49c8bbaae7 ("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>
Diffstat (limited to 'drivers/char/mspec.c')
0 files changed, 0 insertions, 0 deletions