From: Sagi Grimberg Date: Wed, 1 Oct 2014 11:02:04 +0000 (+0300) Subject: IB/iser: Protect tasks cleanup in case IB device was already released X-Git-Tag: fixes-against-v3.18-rc2~36^2^3~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a940daf6fa105d28b69cf3b7a3739a3777f4185;p=pandora-kernel.git 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 Signed-off-by: Ariel Nahum Signed-off-by: Or Gerlitz Signed-off-by: Roland Dreier --- Reading git-diff-tree failed