[SCSI] qla4xxx: Fix kernel panic during discovery logout.
authorManish Rangankar <manish.rangankar@qlogic.com>
Tue, 24 Apr 2012 05:32:33 +0000 (22:32 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 30 May 2012 08:56:08 +0000 (12:56 +0400)
commit3d948e2a21ed8641a84ad437d2544b215d747916
tree5a5fc4b4edcbb72fef4ed2a9cf9ac376c0a1794a
parent5f50aa3ad54f3d029026d437f43324ce336dd8f5
[SCSI] qla4xxx: Fix kernel panic during discovery logout.

Update the session and connection parameter before sending
connection logged in event to iscsiadm because in some
scenario logout may come in just after we send the logged
in event to user, which free up session, connection and ddb,
but DPC is still updating session and connect parameter
which can lead to panic.

Signed-off-by: Manish Rangankar <manish.rangankar@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla4xxx/ql4_init.c