[PATCH] nvme-pci: don't allocate dma_vec for IOVA mappings
Christoph Hellwig
hch at lst.de
Mon Jul 14 04:42:13 PDT 2025
On Fri, Jul 11, 2025 at 07:46:08AM -0600, Jens Axboe wrote:
> On 7/11/25 5:22 AM, Christoph Hellwig wrote:
> > Not only do IOVA mappings no need the separate dma_vec tracking, it
> > also won't free it and thus leak the allocations.
> >
> > Fixes: 10f50d4127e2 ("nvme-pci: fix dma unmapping when using PRPs and not using the IOVA mapping")
> ^^^^^^^^^^^^
>
> b8b7570a7ec872f2a27b775c4f8710ca8a357adf
Ah, sorry. That was the commit ID in my tree before I sent the original
patch out.
More information about the Linux-nvme
mailing list