Re: [PATCH 1/1] scsi: qedi: Fix ABBA deadlock in qedi_process_tmf_resp() and qedi_process_cmd_cleanup_resp()

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

 



On Tue, 8 Feb 2022 12:54:48 -0600, Mike Christie wrote:

> This fixes a deadlock added with:
> commit b40f3894e39e ("scsi: qedi: Complete TMF works before disconnect")
> 
> Bug description from Jia-Ju Bai <baijiaju1990@xxxxxxxxx>
> 
> qedi_process_tmf_resp()
>   spin_lock(&session->back_lock); --> Line 201 (Lock A)
>   spin_lock(&qedi_conn->tmf_work_lock); --> Line 230 (Lock B)
> 
> [...]

Applied to 5.17/scsi-fixes, thanks!

[1/1] scsi: qedi: Fix ABBA deadlock in qedi_process_tmf_resp() and qedi_process_cmd_cleanup_resp()
      https://git.kernel.org/mkp/scsi/c/f10f582d2822

-- 
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