Messages in this thread | | | From | "Karan Tilak Kumar (kartilak)" <> | Subject | RE: [PATCH] scsi: fnic: Replace sgreset tag with max_tag_id | Date | Tue, 29 Aug 2023 02:44:13 +0000 |
| |
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@oracle.com> Sent: Friday, August 25, 2023 2:16 PM To: Karan Tilak Kumar (kartilak) <kartilak@cisco.com> Cc: Sesidhar Baddela (sebaddel) <sebaddel@cisco.com>; Arulprabhu Ponnusamy (arulponn) <arulponn@cisco.com>; Dhanraj Jhawar (djhawar) <djhawar@cisco.com>; Gian Carlo Boffa (gcboffa) <gcboffa@cisco.com>; Masa Kai (mkai2) <mkai2@cisco.com>; Satish Kharat (satishkh) <satishkh@cisco.com>; jejb@linux.ibm.com; martin.petersen@oracle.com; linux-scsi@vger.kernel.org; linux-kernel@vger.kernel.org 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
| |