Re: [PATCH] scsi: mpt3sas: Avoid freeing unallocated PCIe SGL buffers

"Martin K. Petersen (Oracle)" <[email protected]>
Newsgroups org.kernel.vger.linux-scsi
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.