Patch "[PATCH 080/135] qla2xxx: Use ATIO type to send correct tmr response" has been added to the 4.4-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
[PATCH 080/135] qla2xxx: Use ATIO type to send correct tmr response
to the 4.4-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:
0080-qla2xxx-Use-ATIO-type-to-send-correct-tmr-response.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
e74817c3b62c82583c95dbd3b7de59472a166a5fMon Sep 17 00:00:00 2001
From: Swapnil Nagle <[email protected]>
Date: Thu, 4 Feb 2016 11:45:17 -0500
Subject: [PATCH 080/135] qla2xxx: Use ATIO type to send correct tmr response
[ Upstream commit d7236ac368212bd6fc8b45f050136ee53e6a6f2d ]
The function value inside se_cmd can change if the TMR is cancelled. Use original ATIO Type to correctly determine CTIO response.
--- drivers/scsi/qla2xxx/qla_target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/qla2xxx/qla_target.c +1 -1
@@ -1578,7 +1578,7 @@ void qlt_xmit_tm_rsp(struct qla_tgt_mgmtqlt_send_notify_ack (vha, &mcmd->orig_iocb.imm_ntfy,0 ,0 ,0 ,0 ,0 ,0 ); else { -if (mcmd->se_cmd.se_tmr_req->function ==TMR_ABORT_TASK ) +if (mcmd->orig_iocb.atio.u.raw.entry_type ==ABTS_RECV_24XX )qlt_24xx_send_abts_resp (vha, &mcmd->orig_iocb.abts, mcmd->fc_tm_rsp, false);else
Patches currently in stable-queue which might be from [email protected] are
queue-4.4/0080-qla2xxx-Use-ATIO-type-to-send-correct-tmr-response.patch