diff options
author | Akhilesh Patil <akhilesh@ee.iitb.ac.in> | 2025-08-10 23:21:58 +0530 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2025-08-13 07:00:21 -0400 |
commit | 111aea0464c20f3eb25a48d5ff6c036e6b416123 (patch) | |
tree | b45502a5def7f08d0e676fdd804497c0300ae1b2 /rust/kernel/alloc/layout.rs | |
parent | 2186e8c39eb156b3557a467ce4e5dc3f24826609 (diff) |
RDMA/core: Free pfn_list with appropriate kvfree call
Ensure that pfn_list allocated by kvcalloc() is freed using corresponding
kvfree() function. Match memory allocation and free routines kvcalloc -> kvfree.
Fixes: 259e9bd07c57 ("RDMA/core: Avoid hmm_dma_map_alloc() for virtual DMA devices")
Signed-off-by: Akhilesh Patil <akhilesh@ee.iitb.ac.in>
Link: https://patch.msgid.link/aJjcPjL1BVh8QrMN@bhairav-test.ee.iitb.ac.in
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'rust/kernel/alloc/layout.rs')
0 files changed, 0 insertions, 0 deletions