summaryrefslogtreecommitdiffstats
path: root/include/rdma
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2019-06-13 21:46:45 -0300
committerDoug Ledford <dledford@redhat.com>2019-06-20 21:52:47 -0400
commitdd82e668892ead6fe97c97eabd7ba28e296052c6 (patch)
tree9c2dd737f9a0fabb72ac219e3948279c78a9c538 /include/rdma
parentd384742ed1afa925bb78fd50ff337538f202f19c (diff)
downloadlinux-dd82e668892ead6fe97c97eabd7ba28e296052c6.tar.gz
linux-dd82e668892ead6fe97c97eabd7ba28e296052c6.tar.bz2
linux-dd82e668892ead6fe97c97eabd7ba28e296052c6.zip
RDMA/odp: Do not leak dma maps when working with huge pages
The ib_dma_unmap_page() must match the length of the ib_dma_map_page(), which is based on odp_shift. Otherwise iommu resources under this API will not be properly freed. Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions