From: Manish Rangankar <manish.rangan...@qlogic.com>

For offload iSCSI login, if there are existing active sessions and
iscsid is restarted then iscsid is unable to rediscover all active
sessions.
On LLD side fixed sending response on connection login event.
And on the iscsid side fixed sending response on mgmt socket on
connection login event.

JIRA Key: OPENISCSI-21

Signed-off-by: Manish Rangankar <manish.rangan...@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudh...@qlogic.com>
---
 usr/initiator.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/usr/initiator.c b/usr/initiator.c
index 0350ff8..6c06318 100644
--- a/usr/initiator.c
+++ b/usr/initiator.c
@@ -1634,9 +1634,10 @@ static void session_conn_process_login(void *data)
                            session->nrec.conn[conn->id].address,
                            session->nrec.conn[conn->id].port,
                            session->nrec.iface.name);
-       } else
+       } else {
                session->notify_qtask = NULL;
-
+               mgmt_ipc_write_rsp(c->qtask, ISCSI_SUCCESS);
+       }
 
        /*
         * reset ERL=0 reopen counter
-- 
1.7.6


-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-iscsi@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.

Reply via email to