From: "Martin K. Petersen (Oracle)" <mkp@kernel.org>
To: Chandrakanth Patil <chandrakanth.patil@broadcom.com>
Cc: linux-scsi@vger.kernel.org,
Sathya Prakash <sathya.prakash@broadcom.com>,
Ranjan Kumar <ranjan.kumar@broadcom.com>,
Laurence Oberman <loberman@redhat.com>
Subject: Re: [PATCH] scsi: mpt3sas: Avoid freeing unallocated PCIe SGL buffers
Date: Thu, 13 Aug 2026 21:46:08 -0400 [thread overview]
Message-ID: <yq1qzk1tqxz.fsf@mail.kernel.org> (raw)
In-Reply-To: <20260808151010.185603-1-chandrakanth.patil@broadcom.com> (Chandrakanth Patil's message of "Sat, 8 Aug 2026 20:40:10 +0530")
Chandrakanth,
> _base_release_memory_pools() unconditionally frees every
> ioc->pcie_sg_lookup[] entry, including ones the setup loop never
> allocated after a partial failure, causing a "bad dma" warning on
> debug kernels or a NULL pointer dereference otherwise.
Applied to 7.3/scsi-staging, thanks!
--
Martin K. Petersen
prev parent reply other threads:[~2026-08-14 1:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-08 15:10 [PATCH] scsi: mpt3sas: Avoid freeing unallocated PCIe SGL buffers Chandrakanth Patil
2026-08-08 10:09 ` sashiko-bot
2026-08-09 9:25 ` Chandrakanth Patil
2026-08-14 1:46 ` Martin K. Petersen (Oracle) [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yq1qzk1tqxz.fsf@mail.kernel.org \
--to=mkp@kernel.org \
--cc=chandrakanth.patil@broadcom.com \
--cc=linux-scsi@vger.kernel.org \
--cc=loberman@redhat.com \
--cc=ranjan.kumar@broadcom.com \
--cc=sathya.prakash@broadcom.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.