[SCSI] stex: Fix for potential invalid response
[firefly-linux-kernel-4.4.55.git] / drivers / scsi / stex.c
index a3a18ad7312527acd35536c5b9a2f42a7370454a..6129db4a6a3865e4de9cc7a59f719a39df948155 100644 (file)
@@ -746,6 +746,7 @@ static void stex_mu_intr(struct st_hba *hba, u32 doorbell)
                                stex_copy_data(ccb, resp, size);
                }
 
+               ccb->req = NULL;
                ccb->srb_status = resp->srb_status;
                ccb->scsi_status = resp->scsi_status;