From: Sagi Grimberg Date: Tue, 29 Apr 2014 10:13:47 +0000 (+0300) Subject: Target/iscsi,iser: Avoid accepting transport connections during stop stage X-Git-Tag: omap-for-v3.16/fixes-against-rc1~172^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14f4b54fe38f3a8f8392a50b951c8aa43b63687a;p=pandora-kernel.git Target/iscsi,iser: Avoid accepting transport connections during stop stage When the target is in stop stage, iSER transport initiates RDMA disconnects. The iSER initiator may wish to establish a new connection over the still existing network portal. In this case iSER transport should not accept and resume new RDMA connections. In order to learn that, iscsi_np is added with enabled flag so the iSER transport can check when deciding weather to accept and resume a new connection request. The iscsi_np is enabled after successful transport setup, and disabled before iscsi_np login threads are cleaned up. Signed-off-by: Sagi Grimberg Cc: stable@vger.kernel.org # 3.10+ Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed