android_kernel_motorola_sm6375/drivers/infiniband
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Mike Marciniszyn b8a7980405 IB/hfi1: Correct guard on eager buffer deallocation
commit 9292f8f9a2ac42eb320bced7153aa2e63d8cc13a upstream.

The code tests the dma address which legitimately can be 0.

The code should test the kernel logical address to avoid leaking eager
buffer allocations that happen to map to a dma address of 0.

Fixes: 60368186fd ("IB/hfi1: Fix user-space buffers mapping with IOMMU enabled")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mike Marciniszyn <[email protected]>
Signed-off-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2021-12-14 14:49:00 +01:00
..
core RDMA/sa_query: Use strscpy_pad instead of memcpy to copy a string 2021-11-02 19:46:14 +01:00
hw IB/hfi1: Correct guard on eager buffer deallocation 2021-12-14 14:49:00 +01:00
sw RDMA/rxe: Fix wrong port_cap_flags 2021-11-17 09:48:41 +01:00
ulp RDMA/ipoib: Fix warning caused by destroying non-initial netns 2021-06-16 11:59:44 +02:00
Kconfig RMDA/sw: Don't allow drivers using dma_virt_ops on highmem configs 2020-11-24 13:29:05 +01:00
Makefile