Re: [PATCH] RDMA/core: fix memory alloc/free for pfn_list

From: Leon Romanovsky
Date: Wed Aug 13 2025 - 07:05:44 EST



On Sun, 10 Aug 2025 23:21:58 +0530, Akhilesh Patil wrote:
> Ensure memory allocated for umem_odp->map->pfn_list using kvcalloc()
> is freed using corresponding kvfree() to avoid potential memory
> corruption. Match memory allocation and free routines kvcalloc -> kvfree
>
>

Applied, thanks!

[1/1] RDMA/core: fix memory alloc/free for pfn_list
https://git.kernel.org/rdma/rdma/c/111aea0464c20f

Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>