commit | b73aa56ee91cd88a4977033cfd2a18d6b25dddde | [log] [tgz] |
---|---|---|
author | Hannes Reinecke <hare@suse.de> | Thu Oct 13 15:10:49 2016 +0200 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Tue Nov 08 17:29:52 2016 -0500 |
tree | d2f0d144aeb58278b397509973f0f3ddc7f62323 | |
parent | 5d339d163a541ceb13074789ac2f8c35b11ebda9 [diff] |
scsi: libfc: safeguard against invalid exchange index The cached exchange index might be invalid, in which case we should drop down to allocate a new one. And we should not try to access an invalid exchange when responding to a BA_ABTS. Signed-off-by: Hannes Reinecke <hare@suse.com> Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>