[openib-general] [PATCH] iser: bugfix in session create

Or Gerlitz ogerlitz at voltaire.com
Wed Jan 25 06:11:28 PST 2006


commited to r5182

bugfix - session state is not LOGGED_IN upon creation but rather later

Signed-off-by: Or Gerlitz <ogerlitz at voltaire.com>


Index: ulp/iser/iscsi_iser.c
===================================================================
--- ulp/iser/iscsi_iser.c	(revision 5181)
+++ ulp/iser/iscsi_iser.c	(working copy)
@@ -946,7 +946,6 @@ static iscsi_sessionh_t iscsi_iser_sessi
 
 	session->host = host;
 	session->id = host->host_no;
-	session->state = ISCSI_STATE_LOGGED_IN;
 	session->mgmtpool_max = ISCSI_ISER_MGMT_CMDS_MAX;
 	session->cmds_max = ISCSI_ISER_XMIT_CMDS_MAX;
 	session->cmdsn = initial_cmdsn;




More information about the general mailing list