[PATCH] nvme-pci: don't allocate dma_vec for IOVA mappings
Jens Axboe
axboe at kernel.dk
Fri Jul 11 06:46:08 PDT 2025
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
--
Jens Axboe
More information about the Linux-nvme
mailing list