Re: [PATCH 2/2] qla2xxx: Fix missed DMA unmap for aborted cmds

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

 



On Fri, 15 Apr 2022 12:42:29 +0000, Chesnokov Gleb wrote:

> Aborting commands that have already been sent to the firmware can
> cause BUG in qlt_free_cmd(): BUG_ON(cmd->sg_mapped)
> 
> For instance:
> - command passes rdx_to_xfer state, maps sgl, sends to the
>   fimware
> - reset occurs, qla2xxx performs ISP error recovery,
>   aborts the command
> - target stack calls qlt_abort_cmd() and then qlt_free_cmd()
> - BUG_ON(cmd->sg_mapped) in qlt_free_cmd() occurs because sgl was not
>   unmapped
> 
> [...]

Applied to 5.18/scsi-fixes, thanks!

[2/2] qla2xxx: Fix missed DMA unmap for aborted cmds
      https://git.kernel.org/mkp/scsi/c/26f9ce53817a

-- 
Martin K. Petersen	Oracle Linux Engineering



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux