[SCSI] qla4xxx: Fixed session destroy issue on link up-down.
authorManish Rangankar <manish.rangankar@qlogic.com>
Fri, 7 Oct 2011 23:55:47 +0000 (16:55 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 16 Oct 2011 16:10:27 +0000 (11:10 -0500)
commit98270ab45c0a5e533f253f04e0b617c98b5a6259
tree30843b0c7a04c4a0d4000cffa957a152f08b31d4
parent736cf369c9a514a9ed596e97375c49ef1fdf920a
[SCSI] qla4xxx: Fixed session destroy issue on link up-down.

During link down, iscsid tries to do re-login to failed session. In case of
link down-up-down, LLD was sending connection login failed event to iscsid,
which is destroying the session, instead we have to continue re-login by
sending connection err event.

JIRA Key: UPSISCSI-134

Signed-off-by: Manish Rangankar <manish.rangankar@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla4xxx/ql4_init.c
drivers/scsi/qla4xxx/ql4_os.c