mirror-linux/drivers/infiniband
Thomas Fourier fcd431a962 RDMA/bnxt_re: fix dma_free_coherent() pointer
The dma_alloc_coherent() allocates a dma-mapped buffer, pbl->pg_arr[i].
The dma_free_coherent() should pass the same buffer to
dma_free_coherent() and not page-aligned.

Fixes: 1ac5a40479 ("RDMA/bnxt_re: Add bnxt_re RoCE driver")
Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com>
Link: https://patch.msgid.link/20251230085121.8023-2-fourier.thomas@gmail.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
2025-12-30 06:45:51 -05:00
..
core RDMA/core: always drop device refcount in ib_del_sub_device_and_put() 2025-12-21 06:45:17 -05:00
hw RDMA/bnxt_re: fix dma_free_coherent() pointer 2025-12-30 06:45:51 -05:00
sw IB/rxe: Fix missing umem_odp->umem_mutex unlock on error path 2025-12-30 04:22:59 -05:00
ulp RDMA/rtrs: Fix clt_path::max_pages_per_mr calculation 2025-12-30 05:47:32 -05:00
Kconfig RDMA/bng_re: Add Auxiliary interface 2025-11-24 02:58:29 -05:00
Makefile