diff options
author | Sagi Grimberg <sagig@mellanox.com> | 2014-10-01 14:02:04 +0300 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-10-09 00:06:06 -0700 |
commit | 3a940daf6fa105d28b69cf3b7a3739a3777f4185 (patch) | |
tree | b83d909745453657054b31cb0924fc60b2f6a727 /samples | |
parent | ec370e2b63526931a65f4668626dbb43896788c6 (diff) |
IB/iser: Protect tasks cleanup in case IB device was already released
Bailout in case a task cleanup (iscsi_iser_cleanup_task) is called
after the IB device was removed (DEVICE_REMOVAL CM event). We also
call iscsi_conn_stop with a lock taken to prevent DEVICE_REMOVAL and
tasks cleanup from racing.
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Ariel Nahum <arieln@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions