Re: [PATCH] scsi: target: tcmu: Return from tcmu_handle_completions if cmd_id not found

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

 



On Fri, 23 Apr 2021 17:01:23 +0200, Bodo Stroesser wrote:

> If tcmu_handle_completions finds an invalid cmd_id while looping
> over cmd responses from userspace, it sets TCMU_DEV_BIT_BROKEN
> and breaks the loop, which means that it does further handling
> for the tcmu device.
> 
> Skip that handling by replacing 'break' with 'return'.
> 
> [...]

Applied to 5.13/scsi-fixes, thanks!

[1/1] scsi: target: tcmu: Return from tcmu_handle_completions if cmd_id not found
      https://git.kernel.org/mkp/scsi/c/9814b55cde05

-- 
Martin K. Petersen	Oracle Linux Engineering



[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux