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

From: Karan Tilak Kumar (kartilak)
Date: Mon Aug 28 2023 - 22:46:16 EST


Thanks Martin.

Do I need to send out a patch request to apply this patch to 6.5/scsi-fixes?

Regards,
Karan

-----Original Message-----
From: Martin K. Petersen <martin.petersen@xxxxxxxxxx>
Sent: Friday, August 25, 2023 2:16 PM
To: Karan Tilak Kumar (kartilak) <kartilak@xxxxxxxxx>
Cc: Sesidhar Baddela (sebaddel) <sebaddel@xxxxxxxxx>; Arulprabhu Ponnusamy (arulponn) <arulponn@xxxxxxxxx>; Dhanraj Jhawar (djhawar) <djhawar@xxxxxxxxx>; Gian Carlo Boffa (gcboffa) <gcboffa@xxxxxxxxx>; Masa Kai (mkai2) <mkai2@xxxxxxxxx>; Satish Kharat (satishkh) <satishkh@xxxxxxxxx>; jejb@xxxxxxxxxxxxx; martin.petersen@xxxxxxxxxx; linux-scsi@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx
Subject: Re: [PATCH] scsi: fnic: Replace sgreset tag with max_tag_id


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