diff options
author | Bart Van Assche <[email protected]> | 2015-08-14 11:01:09 -0700 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2015-08-30 18:12:24 -0400 |
commit | bc44bd1d864664f3658352c6aaaa02557d49165d (patch) | |
tree | c00f8ca60fed5e7aaddf60c5c51970e5eee721d7 /tools/perf/scripts/python/sctop.py | |
parent | 713ef24e41757561c7f0bfc9bf4436f7e4a5b527 (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 <[email protected]>
Fixes: fb49c8bbaae7 ("Remove an extraneous scsi_host_put() from an error path")
Signed-off-by: Bart Van Assche <[email protected]>
Cc: Sagi Grimberg <[email protected]>
Cc: Sebastian Parschauer <[email protected]>
Cc: <[email protected]> #v3.19
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions