Commit 377d8f5c authored by Sagi Grimberg's avatar Sagi Grimberg Committed by Nicholas Bellinger
Browse files

iser-target: Remove redundant call to isert_conn_terminate



We are calling session reinstatement, wait_conn will start
connection termination.

Signed-off-by: default avatarSagi Grimberg <sagig@mellanox.com>
Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
parent 6f0fae3d
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -2038,10 +2038,6 @@ isert_cq_comp_err(struct isert_conn *isert_conn, struct ib_wc *wc)
			target_wait_for_sess_cmds(conn->sess->se_sess);
		}

		mutex_lock(&isert_conn->conn_mutex);
		isert_conn_terminate(isert_conn);
		mutex_unlock(&isert_conn->conn_mutex);

		iscsit_cause_connection_reinstatement(isert_conn->conn, 0);
		complete(&isert_conn->conn_wait_comp_err);
	}