linux/drivers/infiniband/hw
Thomas Fourier 29abf51fdf 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:14:37 +01:00
..
bnxt_re RDMA/bnxt_re: fix dma_free_coherent() pointer 2026-01-08 10:14:37 +01:00
cxgb4 RDMA/cxgb4: Notify rdma stack for IB_EVENT_QP_LAST_WQE_REACHED event 2025-02-08 09:57:51 +01:00
efa RDMA/efa: Remove possible negative shift 2026-01-08 10:14:36 +01:00
erdma RDMA/erdma: Fix ignored return value of init_kernel_qp 2025-08-28 16:31:12 +02:00
hfi1 RDMA: hfi1: fix possible divide-by-zero in find_hw_thread_mask() 2025-08-20 18:30:43 +02:00
hns RDMA/hns: Fix wrong WQE data when QP wraps around 2025-11-13 15:34:33 -05:00
irdma RDMA/irdma: avoid invalid read in irdma_net_event 2026-01-08 10:14:36 +01:00
mana RDMA/mana_ib: Fix DSCP value in modify QP 2025-08-15 12:13:54 +02:00
mlx4 RDMA/mlx4: Avoid false error about access to uninitialized gids array 2025-02-08 09:57:37 +01:00
mlx5 RDMA/mlx5: Fix vport loopback forcing for MPV device 2025-10-15 12:00:06 +02:00
mthca RDMA: Pass entire uverbs attr bundle to create cq function 2024-06-27 16:28:21 -03:00
ocrdma RDMA/ocrdma: Don't inline statistics functions 2024-07-11 13:25:11 +03:00
qedr RDMA: Pass entire uverbs attr bundle to create cq function 2024-06-27 16:28:21 -03:00
qib qibfs: fix _another_ leak 2025-05-02 07:59:20 +02:00
usnic RDMA/usnic: Fix passing zero to PTR_ERR in usnic_ib_pci_probe() 2025-04-25 10:47:39 +02:00
vmw_pvrdma RDMA: Pass entire uverbs attr bundle to create cq function 2024-06-27 16:28:21 -03:00
Makefile RDMA/hns: Clean up the legacy CONFIG_INFINIBAND_HNS 2025-02-08 09:57:46 +01:00