From: Nilesh Javali Date: Mon, 16 Dec 2013 11:49:40 +0000 (-0500) Subject: [SCSI] qla4xxx: Clear DDB index map upon connection close failure X-Git-Tag: v3.15-rc1~136^2~83 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de2efea62bc50d1277cd8ad91e00aac4bb793146;p=pandora-kernel.git [SCSI] qla4xxx: Clear DDB index map upon connection close failure Issue: qla4xxx Unable to clear DDB indices when logout fails due to failure of connection close mbox command. Root cause: If login to session fail, iscsiadm make call to destroy_session. qla4xxx driver does not free ddb index map before free_ddb() Fix: Clear DDB Index map before free_ddb in "destroy_session" in case of connection close mailbox command failure with 4005h. Signed-off-by: Nilesh Javali Signed-off-by: Vikas Chaudhary Reviewed-by: Mike Christie Signed-off-by: James Bottomley --- Reading git-diff-tree failed