aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorMike Marciniszyn <[email protected]>2021-11-29 14:19:52 -0500
committerJason Gunthorpe <[email protected]>2021-12-07 13:22:53 -0400
commit9292f8f9a2ac42eb320bced7153aa2e63d8cc13a (patch)
treefcb1db9847c7b18f2c5f572f3d1a328da7496d5c /drivers/usb/cdns3/cdns3-imx.c
parentdb6169b5bac1c75ed37cfdaedc7dfb1618f3f362 (diff)
IB/hfi1: Correct guard on eager buffer deallocation
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: 60368186fd85 ("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]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions