Patch "scsi: qedf: Return SUCCESS if stale rport is encountered" has been added to the 5.8-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    scsi: qedf: Return SUCCESS if stale rport is encountered

to the 5.8-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     scsi-qedf-return-success-if-stale-rport-is-encounter.patch
and it can be found in the queue-5.8 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit f68e929a5021ac2d4936608f22de3a5015076c58
Author: Saurav Kashyap <skashyap@xxxxxxxxxxx>
Date:   Mon Sep 7 05:14:40 2020 -0700

    scsi: qedf: Return SUCCESS if stale rport is encountered
    
    [ Upstream commit 10aff62fab263ad7661780816551420cea956ebb ]
    
    If SUCCESS is not returned, error handling will escalate. Return SUCCESS
    similar to other conditions in this function.
    
    Link: https://lore.kernel.org/r/20200907121443.5150-6-jhasan@xxxxxxxxxxx
    Signed-off-by: Saurav Kashyap <skashyap@xxxxxxxxxxx>
    Signed-off-by: Javed Hasan <jhasan@xxxxxxxxxxx>
    Signed-off-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/scsi/qedf/qedf_main.c b/drivers/scsi/qedf/qedf_main.c
index 51cfab9d1afdc..ed3054fffa344 100644
--- a/drivers/scsi/qedf/qedf_main.c
+++ b/drivers/scsi/qedf/qedf_main.c
@@ -704,7 +704,7 @@ static int qedf_eh_abort(struct scsi_cmnd *sc_cmd)
 	rdata = fcport->rdata;
 	if (!rdata || !kref_get_unless_zero(&rdata->kref)) {
 		QEDF_ERR(&qedf->dbg_ctx, "stale rport, sc_cmd=%p\n", sc_cmd);
-		rc = 1;
+		rc = SUCCESS;
 		goto out;
 	}
 



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux