From: Greg Kroah-Hartman Date: Tue, 7 Mar 2023 12:22:24 +0000 (+0100) Subject: 6.2-stable patches X-Git-Tag: v6.2.3~43 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8356a37a8537747183b4511febc1ca7a66c7c611;p=thirdparty%2Fkernel%2Fstable-queue.git 6.2-stable patches added patches: scsi-aacraid-allocate-cmd_priv-with-scsicmd.patch scsi-core-remove-the-proc-scsi-proc_name-directory-earlier.patch scsi-qla2xxx-check-if-port-is-online-before-sending-els.patch scsi-qla2xxx-fix-dma-api-call-trace-on-nvme-ls-requests.patch scsi-qla2xxx-fix-erroneous-link-down.patch scsi-qla2xxx-fix-link-failure-in-npiv-environment.patch scsi-qla2xxx-remove-increment-of-interface-err-cnt.patch scsi-qla2xxx-remove-unintended-flag-clearing.patch --- diff --git a/queue-6.2/scsi-aacraid-allocate-cmd_priv-with-scsicmd.patch b/queue-6.2/scsi-aacraid-allocate-cmd_priv-with-scsicmd.patch new file mode 100644 index 00000000000..15ed591b10d --- /dev/null +++ b/queue-6.2/scsi-aacraid-allocate-cmd_priv-with-scsicmd.patch @@ -0,0 +1,72 @@ +From 7ab734fc759828707dae22fe48b1eb4dcf70beea Mon Sep 17 00:00:00 2001 +From: Kees Cook +Date: Fri, 27 Jan 2023 16:04:13 -0800 +Subject: scsi: aacraid: Allocate cmd_priv with scsicmd + +From: Kees Cook + +commit 7ab734fc759828707dae22fe48b1eb4dcf70beea upstream. + +The aac_priv() helper assumes that the private cmd area immediately follows +struct scsi_cmnd. Allocate this space as part of scsicmd, else there is a +risk of heap overflow. Seen with GCC 13: + +../drivers/scsi/aacraid/aachba.c: In function 'aac_probe_container': +../drivers/scsi/aacraid/aachba.c:841:26: warning: array subscript 16 is outside array bounds of 'void[392]' [-Warray-bounds=] + 841 | status = cmd_priv->status; + | ^~ +In file included from ../include/linux/resource_ext.h:11, + from ../include/linux/pci.h:40, + from ../drivers/scsi/aacraid/aachba.c:22: +In function 'kmalloc', + inlined from 'kzalloc' at ../include/linux/slab.h:720:9, + inlined from 'aac_probe_container' at ../drivers/scsi/aacraid/aachba.c:821:30: +../include/linux/slab.h:580:24: note: at offset 392 into object of size 392 allocated by 'kmalloc_trace' + 580 | return kmalloc_trace( + | ^~~~~~~~~~~~~~ + 581 | kmalloc_caches[kmalloc_type(flags)][index], + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 582 | flags, size); + | ~~~~~~~~~~~~ + +Fixes: 76a3451b64c6 ("scsi: aacraid: Move the SCSI pointer to private command data") +Link: https://lore.kernel.org/r/20230128000409.never.976-kees@kernel.org +Cc: Bart Van Assche +Cc: Hannes Reinecke +Cc: Himanshu Madhani +Cc: Adaptec OEM Raid Solutions +Cc: "James E.J. Bottomley" +Cc: "Martin K. Petersen" +Cc: linux-scsi@vger.kernel.org +Cc: stable@vger.kernel.org +Signed-off-by: Kees Cook +Reviewed-by: Vegard Nossum +Reviewed-by: Hannes Reinecke +Reviewed-by: Bart Van Assche +Signed-off-by: Martin K. Petersen +Signed-off-by: Greg Kroah-Hartman +--- + drivers/scsi/aacraid/aachba.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +--- a/drivers/scsi/aacraid/aachba.c ++++ b/drivers/scsi/aacraid/aachba.c +@@ -818,8 +818,8 @@ static void aac_probe_container_scsi_don + + int aac_probe_container(struct aac_dev *dev, int cid) + { +- struct scsi_cmnd *scsicmd = kzalloc(sizeof(*scsicmd), GFP_KERNEL); +- struct aac_cmd_priv *cmd_priv = aac_priv(scsicmd); ++ struct aac_cmd_priv *cmd_priv; ++ struct scsi_cmnd *scsicmd = kzalloc(sizeof(*scsicmd) + sizeof(*cmd_priv), GFP_KERNEL); + struct scsi_device *scsidev = kzalloc(sizeof(*scsidev), GFP_KERNEL); + int status; + +@@ -838,6 +838,7 @@ int aac_probe_container(struct aac_dev * + while (scsicmd->device == scsidev) + schedule(); + kfree(scsidev); ++ cmd_priv = aac_priv(scsicmd); + status = cmd_priv->status; + kfree(scsicmd); + return status; diff --git a/queue-6.2/scsi-core-remove-the-proc-scsi-proc_name-directory-earlier.patch b/queue-6.2/scsi-core-remove-the-proc-scsi-proc_name-directory-earlier.patch new file mode 100644 index 00000000000..dbebf366731 --- /dev/null +++ b/queue-6.2/scsi-core-remove-the-proc-scsi-proc_name-directory-earlier.patch @@ -0,0 +1,74 @@ +From fc663711b94468f4e1427ebe289c9f05669699c9 Mon Sep 17 00:00:00 2001 +From: Bart Van Assche +Date: Fri, 10 Feb 2023 12:52:00 -0800 +Subject: scsi: core: Remove the /proc/scsi/${proc_name} directory earlier + +From: Bart Van Assche + +commit fc663711b94468f4e1427ebe289c9f05669699c9 upstream. + +Remove the /proc/scsi/${proc_name} directory earlier to fix a race +condition between unloading and reloading kernel modules. This fixes a bug +introduced in 2009 by commit 77c019768f06 ("[SCSI] fix /proc memory leak in +the SCSI core"). + +Fix the following kernel warning: + +proc_dir_entry 'scsi/scsi_debug' already registered +WARNING: CPU: 19 PID: 27986 at fs/proc/generic.c:376 proc_register+0x27d/0x2e0 +Call Trace: + proc_mkdir+0xb5/0xe0 + scsi_proc_hostdir_add+0xb5/0x170 + scsi_host_alloc+0x683/0x6c0 + sdebug_driver_probe+0x6b/0x2d0 [scsi_debug] + really_probe+0x159/0x540 + __driver_probe_device+0xdc/0x230 + driver_probe_device+0x4f/0x120 + __device_attach_driver+0xef/0x180 + bus_for_each_drv+0xe5/0x130 + __device_attach+0x127/0x290 + device_initial_probe+0x17/0x20 + bus_probe_device+0x110/0x130 + device_add+0x673/0xc80 + device_register+0x1e/0x30 + sdebug_add_host_helper+0x1a7/0x3b0 [scsi_debug] + scsi_debug_init+0x64f/0x1000 [scsi_debug] + do_one_initcall+0xd7/0x470 + do_init_module+0xe7/0x330 + load_module+0x122a/0x12c0 + __do_sys_finit_module+0x124/0x1a0 + __x64_sys_finit_module+0x46/0x50 + do_syscall_64+0x38/0x80 + entry_SYSCALL_64_after_hwframe+0x46/0xb0 + +Link: https://lore.kernel.org/r/20230210205200.36973-3-bvanassche@acm.org +Cc: Alan Stern +Cc: Yi Zhang +Cc: stable@vger.kernel.org +Fixes: 77c019768f06 ("[SCSI] fix /proc memory leak in the SCSI core") +Reported-by: Yi Zhang +Signed-off-by: Bart Van Assche +Signed-off-by: Martin K. Petersen +Signed-off-by: Greg Kroah-Hartman +--- + drivers/scsi/hosts.c | 2 ++ + 1 file changed, 2 insertions(+) + +--- a/drivers/scsi/hosts.c ++++ b/drivers/scsi/hosts.c +@@ -181,6 +181,7 @@ void scsi_remove_host(struct Scsi_Host * + scsi_forget_host(shost); + mutex_unlock(&shost->scan_mutex); + scsi_proc_host_rm(shost); ++ scsi_proc_hostdir_rm(shost->hostt); + + /* + * New SCSI devices cannot be attached anymore because of the SCSI host +@@ -340,6 +341,7 @@ static void scsi_host_dev_release(struct + struct Scsi_Host *shost = dev_to_shost(dev); + struct device *parent = dev->parent; + ++ /* In case scsi_remove_host() has not been called. */ + scsi_proc_hostdir_rm(shost->hostt); + + /* Wait for functions invoked through call_rcu(&scmd->rcu, ...) */ diff --git a/queue-6.2/scsi-qla2xxx-check-if-port-is-online-before-sending-els.patch b/queue-6.2/scsi-qla2xxx-check-if-port-is-online-before-sending-els.patch new file mode 100644 index 00000000000..eec56a8510e --- /dev/null +++ b/queue-6.2/scsi-qla2xxx-check-if-port-is-online-before-sending-els.patch @@ -0,0 +1,63 @@ +From 0c227dc22ca18856055983f27594feb2e0149965 Mon Sep 17 00:00:00 2001 +From: Shreyas Deodhar +Date: Mon, 19 Dec 2022 03:07:38 -0800 +Subject: scsi: qla2xxx: Check if port is online before sending ELS + +From: Shreyas Deodhar + +commit 0c227dc22ca18856055983f27594feb2e0149965 upstream. + +CT Ping and ELS cmds fail for NVMe targets. Check if port is online before +sending ELS instead of sending login. + +Cc: stable@vger.kernel.org +Signed-off-by: Shreyas Deodhar +Signed-off-by: Nilesh Javali +Reviewed-by: Himanshu Madhani +Signed-off-by: Martin K. Petersen +Signed-off-by: Greg Kroah-Hartman +--- + drivers/scsi/qla2xxx/qla_bsg.c | 9 +++++---- + 1 file changed, 5 insertions(+), 4 deletions(-) + +--- a/drivers/scsi/qla2xxx/qla_bsg.c ++++ b/drivers/scsi/qla2xxx/qla_bsg.c +@@ -278,8 +278,8 @@ qla2x00_process_els(struct bsg_job *bsg_ + const char *type; + int req_sg_cnt, rsp_sg_cnt; + int rval = (DID_ERROR << 16); +- uint16_t nextlid = 0; + uint32_t els_cmd = 0; ++ int qla_port_allocated = 0; + + if (bsg_request->msgcode == FC_BSG_RPT_ELS) { + rport = fc_bsg_to_rport(bsg_job); +@@ -329,9 +329,9 @@ qla2x00_process_els(struct bsg_job *bsg_ + /* make sure the rport is logged in, + * if not perform fabric login + */ +- if (qla2x00_fabric_login(vha, fcport, &nextlid)) { ++ if (atomic_read(&fcport->state) != FCS_ONLINE) { + ql_dbg(ql_dbg_user, vha, 0x7003, +- "Failed to login port %06X for ELS passthru.\n", ++ "Port %06X is not online for ELS passthru.\n", + fcport->d_id.b24); + rval = -EIO; + goto done; +@@ -348,6 +348,7 @@ qla2x00_process_els(struct bsg_job *bsg_ + goto done; + } + ++ qla_port_allocated = 1; + /* Initialize all required fields of fcport */ + fcport->vha = vha; + fcport->d_id.b.al_pa = +@@ -432,7 +433,7 @@ done_unmap_sg: + goto done_free_fcport; + + done_free_fcport: +- if (bsg_request->msgcode != FC_BSG_RPT_ELS) ++ if (qla_port_allocated) + qla2x00_free_fcport(fcport); + done: + return rval; diff --git a/queue-6.2/scsi-qla2xxx-fix-dma-api-call-trace-on-nvme-ls-requests.patch b/queue-6.2/scsi-qla2xxx-fix-dma-api-call-trace-on-nvme-ls-requests.patch new file mode 100644 index 00000000000..7599eb27011 --- /dev/null +++ b/queue-6.2/scsi-qla2xxx-fix-dma-api-call-trace-on-nvme-ls-requests.patch @@ -0,0 +1,87 @@ +From c75e6aef5039830cce5d4cf764dd204522f89e6b Mon Sep 17 00:00:00 2001 +From: Arun Easi +Date: Mon, 19 Dec 2022 03:07:40 -0800 +Subject: scsi: qla2xxx: Fix DMA-API call trace on NVMe LS requests + +From: Arun Easi + +commit c75e6aef5039830cce5d4cf764dd204522f89e6b upstream. + +The following message and call trace was seen with debug kernels: + +DMA-API: qla2xxx 0000:41:00.0: device driver failed to check map +error [device address=0x00000002a3ff38d8] [size=1024 bytes] [mapped as +single] +WARNING: CPU: 0 PID: 2930 at kernel/dma/debug.c:1017 + check_unmap+0xf42/0x1990 + +Call Trace: + debug_dma_unmap_page+0xc9/0x100 + qla_nvme_ls_unmap+0x141/0x210 [qla2xxx] + +Remove DMA mapping from the driver altogether, as it is already done by FC +layer. This prevents the warning. + +Fixes: c85ab7d9e27a ("scsi: qla2xxx: Fix missed DMA unmap for NVMe ls requests") +Cc: stable@vger.kernel.org +Signed-off-by: Arun Easi +Signed-off-by: Nilesh Javali +Reviewed-by: Himanshu Madhani +Signed-off-by: Martin K. Petersen +Signed-off-by: Greg Kroah-Hartman +--- + drivers/scsi/qla2xxx/qla_nvme.c | 19 +------------------ + 1 file changed, 1 insertion(+), 18 deletions(-) + +--- a/drivers/scsi/qla2xxx/qla_nvme.c ++++ b/drivers/scsi/qla2xxx/qla_nvme.c +@@ -170,18 +170,6 @@ out: + qla2xxx_rel_qpair_sp(sp->qpair, sp); + } + +-static void qla_nvme_ls_unmap(struct srb *sp, struct nvmefc_ls_req *fd) +-{ +- if (sp->flags & SRB_DMA_VALID) { +- struct srb_iocb *nvme = &sp->u.iocb_cmd; +- struct qla_hw_data *ha = sp->fcport->vha->hw; +- +- dma_unmap_single(&ha->pdev->dev, nvme->u.nvme.cmd_dma, +- fd->rqstlen, DMA_TO_DEVICE); +- sp->flags &= ~SRB_DMA_VALID; +- } +-} +- + static void qla_nvme_release_ls_cmd_kref(struct kref *kref) + { + struct srb *sp = container_of(kref, struct srb, cmd_kref); +@@ -199,7 +187,6 @@ static void qla_nvme_release_ls_cmd_kref + + fd = priv->fd; + +- qla_nvme_ls_unmap(sp, fd); + fd->done(fd, priv->comp_status); + out: + qla2x00_rel_sp(sp); +@@ -365,13 +352,10 @@ static int qla_nvme_ls_req(struct nvme_f + nvme->u.nvme.rsp_len = fd->rsplen; + nvme->u.nvme.rsp_dma = fd->rspdma; + nvme->u.nvme.timeout_sec = fd->timeout; +- nvme->u.nvme.cmd_dma = dma_map_single(&ha->pdev->dev, fd->rqstaddr, +- fd->rqstlen, DMA_TO_DEVICE); ++ nvme->u.nvme.cmd_dma = fd->rqstdma; + dma_sync_single_for_device(&ha->pdev->dev, nvme->u.nvme.cmd_dma, + fd->rqstlen, DMA_TO_DEVICE); + +- sp->flags |= SRB_DMA_VALID; +- + rval = qla2x00_start_sp(sp); + if (rval != QLA_SUCCESS) { + ql_log(ql_log_warn, vha, 0x700e, +@@ -379,7 +363,6 @@ static int qla_nvme_ls_req(struct nvme_f + wake_up(&sp->nvme_ls_waitq); + sp->priv = NULL; + priv->sp = NULL; +- qla_nvme_ls_unmap(sp, fd); + qla2x00_rel_sp(sp); + return rval; + } diff --git a/queue-6.2/scsi-qla2xxx-fix-erroneous-link-down.patch b/queue-6.2/scsi-qla2xxx-fix-erroneous-link-down.patch new file mode 100644 index 00000000000..eb8728ed4e7 --- /dev/null +++ b/queue-6.2/scsi-qla2xxx-fix-erroneous-link-down.patch @@ -0,0 +1,50 @@ +From 3fbc74feb642deb688cc97f76d40b7287ddd4cb1 Mon Sep 17 00:00:00 2001 +From: Quinn Tran +Date: Mon, 19 Dec 2022 03:07:45 -0800 +Subject: scsi: qla2xxx: Fix erroneous link down + +From: Quinn Tran + +commit 3fbc74feb642deb688cc97f76d40b7287ddd4cb1 upstream. + +If after an adapter reset the appearance of link is not recovered, the +devices are not rediscovered. This is result of a race condition between +adapter reset (abort_isp) and the topology scan. During adapter reset, the +ABORT_ISP_ACTIVE flag is set. Topology scan usually occurred after adapter +reset. In this case, the topology scan came earlier than usual where it +ran into problem due to ABORT_ISP_ACTIVE flag was still set. + +kernel: qla2xxx [0000:13:00.0]-1005:1: Cmd 0x6a aborted with timeout since ISP Abort is pending +kernel: qla2xxx [0000:13:00.0]-28a0:1: MBX_GET_PORT_NAME failed, No FL Port. +kernel: qla2xxx [0000:13:00.0]-286b:1: qla2x00_configure_loop: exiting normally. local port wwpn 51402ec0123d9a80 id 012300) +kernel: qla2xxx [0000:13:00.0]-8017:1: ADAPTER RESET SUCCEEDED nexus=1:0:15. + +Allow adapter reset to complete before any scan can start. + +Cc: stable@vger.kernel.org +Signed-off-by: Quinn Tran +Signed-off-by: Nilesh Javali +Reviewed-by: Himanshu Madhani +Signed-off-by: Martin K. Petersen +Signed-off-by: Greg Kroah-Hartman +--- + drivers/scsi/qla2xxx/qla_os.c | 7 +++++-- + 1 file changed, 5 insertions(+), 2 deletions(-) + +--- a/drivers/scsi/qla2xxx/qla_os.c ++++ b/drivers/scsi/qla2xxx/qla_os.c +@@ -7094,9 +7094,12 @@ qla2x00_do_dpc(void *data) + } + } + loop_resync_check: +- if (test_and_clear_bit(LOOP_RESYNC_NEEDED, ++ if (!qla2x00_reset_active(base_vha) && ++ test_and_clear_bit(LOOP_RESYNC_NEEDED, + &base_vha->dpc_flags)) { +- ++ /* ++ * Allow abort_isp to complete before moving on to scanning. ++ */ + ql_dbg(ql_dbg_dpc, base_vha, 0x400f, + "Loop resync scheduled.\n"); + diff --git a/queue-6.2/scsi-qla2xxx-fix-link-failure-in-npiv-environment.patch b/queue-6.2/scsi-qla2xxx-fix-link-failure-in-npiv-environment.patch new file mode 100644 index 00000000000..0eaca2e24f6 --- /dev/null +++ b/queue-6.2/scsi-qla2xxx-fix-link-failure-in-npiv-environment.patch @@ -0,0 +1,43 @@ +From b1ae65c082f74536ec292b15766f2846f0238373 Mon Sep 17 00:00:00 2001 +From: Quinn Tran +Date: Mon, 19 Dec 2022 03:07:39 -0800 +Subject: scsi: qla2xxx: Fix link failure in NPIV environment + +From: Quinn Tran + +commit b1ae65c082f74536ec292b15766f2846f0238373 upstream. + +User experienced symptoms of adapter failure in NPIV environment. NPIV +hosts were allowed to trigger chip reset back to back due to NPIV link +state being slow to come online. + +Fix link failure in NPIV environment by removing NPIV host from directly +being able to perform chip reset. + + kernel: qla2xxx [0000:04:00.1]-6009:261: Loop down - aborting ISP. + kernel: qla2xxx [0000:04:00.1]-6009:262: Loop down - aborting ISP. + kernel: qla2xxx [0000:04:00.1]-6009:281: Loop down - aborting ISP. + kernel: qla2xxx [0000:04:00.1]-6009:285: Loop down - aborting ISP + +Fixes: 0d6e61bc6a4f ("[SCSI] qla2xxx: Correct various NPIV issues.") +Cc: stable@vger.kernel.org +Signed-off-by: Quinn Tran +Signed-off-by: Nilesh Javali +Reviewed-by: Himanshu Madhani +Signed-off-by: Martin K. Petersen +Signed-off-by: Greg Kroah-Hartman +--- + drivers/scsi/qla2xxx/qla_os.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/drivers/scsi/qla2xxx/qla_os.c ++++ b/drivers/scsi/qla2xxx/qla_os.c +@@ -7447,7 +7447,7 @@ qla2x00_timer(struct timer_list *t) + + /* if the loop has been down for 4 minutes, reinit adapter */ + if (atomic_dec_and_test(&vha->loop_down_timer) != 0) { +- if (!(vha->device_flags & DFLG_NO_CABLE)) { ++ if (!(vha->device_flags & DFLG_NO_CABLE) && !vha->vp_idx) { + ql_log(ql_log_warn, vha, 0x6009, + "Loop down - aborting ISP.\n"); + diff --git a/queue-6.2/scsi-qla2xxx-remove-increment-of-interface-err-cnt.patch b/queue-6.2/scsi-qla2xxx-remove-increment-of-interface-err-cnt.patch new file mode 100644 index 00000000000..bd282ffb27e --- /dev/null +++ b/queue-6.2/scsi-qla2xxx-remove-increment-of-interface-err-cnt.patch @@ -0,0 +1,34 @@ +From d676a9e3d9efb7e93df460bcf4c445496c16314f Mon Sep 17 00:00:00 2001 +From: Saurav Kashyap +Date: Mon, 19 Dec 2022 03:07:46 -0800 +Subject: scsi: qla2xxx: Remove increment of interface err cnt + +From: Saurav Kashyap + +commit d676a9e3d9efb7e93df460bcf4c445496c16314f upstream. + +Residual underrun is not an interface error, hence no need to increment +that count. + +Fixes: dbf1f53cfd23 ("scsi: qla2xxx: Implementation to get and manage host, target stats and initiator port") +Cc: stable@vger.kernel.org +Signed-off-by: Saurav Kashyap +Signed-off-by: Nilesh Javali +Reviewed-by: Himanshu Madhani +Signed-off-by: Martin K. Petersen +Signed-off-by: Greg Kroah-Hartman +--- + drivers/scsi/qla2xxx/qla_isr.c | 2 -- + 1 file changed, 2 deletions(-) + +--- a/drivers/scsi/qla2xxx/qla_isr.c ++++ b/drivers/scsi/qla2xxx/qla_isr.c +@@ -3363,8 +3363,6 @@ qla2x00_status_entry(scsi_qla_host_t *vh + "Dropped frame(s) detected (0x%x of 0x%x bytes).\n", + resid, scsi_bufflen(cp)); + +- vha->interface_err_cnt++; +- + res = DID_ERROR << 16 | lscsi_status; + goto check_scsi_status; + } diff --git a/queue-6.2/scsi-qla2xxx-remove-unintended-flag-clearing.patch b/queue-6.2/scsi-qla2xxx-remove-unintended-flag-clearing.patch new file mode 100644 index 00000000000..85e710b38c9 --- /dev/null +++ b/queue-6.2/scsi-qla2xxx-remove-unintended-flag-clearing.patch @@ -0,0 +1,33 @@ +From 7e8a936a2d0f98dd6e5d05d4838affabe606cabc Mon Sep 17 00:00:00 2001 +From: Quinn Tran +Date: Mon, 19 Dec 2022 03:07:44 -0800 +Subject: scsi: qla2xxx: Remove unintended flag clearing + +From: Quinn Tran + +commit 7e8a936a2d0f98dd6e5d05d4838affabe606cabc upstream. + +FCF_ASYNC_SENT flag is used in session management. This flag is cleared in +task management path by accident. Remove unintended flag clearing. + +Fixes: 388a49959ee4 ("scsi: qla2xxx: Fix panic from use after free in qla2x00_async_tm_cmd") +Cc: stable@vger.kernel.org +Signed-off-by: Quinn Tran +Signed-off-by: Nilesh Javali +Reviewed-by: Himanshu Madhani +Signed-off-by: Martin K. Petersen +Signed-off-by: Greg Kroah-Hartman +--- + drivers/scsi/qla2xxx/qla_init.c | 1 - + 1 file changed, 1 deletion(-) + +--- a/drivers/scsi/qla2xxx/qla_init.c ++++ b/drivers/scsi/qla2xxx/qla_init.c +@@ -2076,7 +2076,6 @@ qla2x00_async_tm_cmd(fc_port_t *fcport, + done_free_sp: + /* ref: INIT */ + kref_put(&sp->cmd_kref, qla2x00_sp_release); +- fcport->flags &= ~FCF_ASYNC_SENT; + done: + return rval; + } diff --git a/queue-6.2/series b/queue-6.2/series index 4e58e04a313..b170550c3c5 100644 --- a/queue-6.2/series +++ b/queue-6.2/series @@ -955,3 +955,11 @@ ring-buffer-handle-race-between-rb_move_tail-and-rb_check_pages.patch tools-bootconfig-fix-single-used-for-logical-condition.patch tracing-eprobe-fix-to-add-filter-on-eprobe-description-in-readme-file.patch iommu-amd-add-a-length-limitation-for-the-ivrs_acpihid-command-line-parameter.patch +scsi-aacraid-allocate-cmd_priv-with-scsicmd.patch +scsi-core-remove-the-proc-scsi-proc_name-directory-earlier.patch +scsi-qla2xxx-fix-link-failure-in-npiv-environment.patch +scsi-qla2xxx-check-if-port-is-online-before-sending-els.patch +scsi-qla2xxx-fix-dma-api-call-trace-on-nvme-ls-requests.patch +scsi-qla2xxx-remove-unintended-flag-clearing.patch +scsi-qla2xxx-fix-erroneous-link-down.patch +scsi-qla2xxx-remove-increment-of-interface-err-cnt.patch