qla2x00t-32gbit: Check sp->fcport->deleted again in qla2xxx_eh_abort()

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8561 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2019-08-25 03:11:04 +00:00
parent 787bd29c97
commit 7970005b40
+3
View File
@@ -1298,6 +1298,9 @@ qla2xxx_eh_abort(struct scsi_cmnd *cmd)
sp = scsi_cmd_priv(cmd);
if (sp->fcport && sp->fcport->deleted)
return SUCCESS;
/* Return if the command has already finished. */
if (sp_get(sp))
return SUCCESS;