Re: [PATCH] scsi: fnic: Replace sgreset tag with max_tag_id

From: Martin K. Petersen
Date: Fri Aug 25 2023 - 17:16:41 EST



Karan,

> sgreset is issued with a scsi command pointer. The device reset code
> assumes that it was issued on a hardware queue, and calls block
> multiqueue layer. However, the assumption is broken, and there is no
> hardware queue associated with the sgreset, and this leads to a crash
> due to a null pointer exception.

Applied to 6.6/scsi-staging, thanks!

--
Martin K. Petersen Oracle Linux Engineering