linux/drivers/infiniband/hw
Thomas Fourier 4f6e92b7c2 RDMA/bnxt_re: fix dma_free_coherent() pointer
[ Upstream commit fcd431a962 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2026-01-08 10:16:52 +01:00
..
bnxt_re RDMA/bnxt_re: fix dma_free_coherent() pointer 2026-01-08 10:16:52 +01:00
cxgb4 RDMA: Use %pe format specifier for error pointers 2025-09-21 07:34:49 -04:00
efa RDMA/efa: Remove possible negative shift 2026-01-08 10:16:49 +01:00
erdma RDMA v6.18 merge window pull request 2025-10-03 18:35:22 -07:00
hfi1 RDMA: Use %pe format specifier for error pointers 2025-09-21 07:34:49 -04:00
hns RDMA/hns: Remove an extra blank line 2025-10-27 05:44:00 -04:00
ionic RDMA/ionic: Fix memory leak of admin q_wr 2025-09-26 13:12:56 -03:00
irdma RDMA/irdma: avoid invalid read in irdma_net_event 2026-01-08 10:16:49 +01:00
mana RDMA/mana_ib: check cqe length for kernel CQs 2026-01-08 10:16:49 +01:00
mlx4 RDMA: Use %pe format specifier for error pointers 2025-09-21 07:34:49 -04:00
mlx5 mlx5: Fix default values in create CQ 2025-11-11 15:12:18 +01:00
mthca IB: Extend UVERBS_METHOD_REG_MR to get DMAH 2025-07-23 01:42:11 -04:00
ocrdma IB: Extend UVERBS_METHOD_REG_MR to get DMAH 2025-07-23 01:42:11 -04:00
qedr IB: Extend UVERBS_METHOD_REG_MR to get DMAH 2025-07-23 01:42:11 -04:00
usnic IB: Extend UVERBS_METHOD_REG_MR to get DMAH 2025-07-23 01:42:11 -04:00
vmw_pvrdma IB: Extend UVERBS_METHOD_REG_MR to get DMAH 2025-07-23 01:42:11 -04:00
Makefile RDMA/ionic: Add Makefile/Kconfig to kernel build environment 2025-09-11 02:18:36 -04:00