aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/uverbs_main.c
diff options
context:
space:
mode:
authorSomnath Kotur <somnath.kotur@broadcom.com>2018-09-05 13:20:34 +0530
committerJason Gunthorpe <jgg@mellanox.com>2018-09-05 16:08:41 -0600
commitf40f299bbe806a2e2c8b0d7cdda822fa3bdd171b (patch)
tree269428453e6e03967554047056acf8d578cd4115 /drivers/infiniband/core/uverbs_main.c
parentIB/ipoib: Avoid a race condition between start_xmit and cm_rep_handler (diff)
downloadlinux-dev-f40f299bbe806a2e2c8b0d7cdda822fa3bdd171b.tar.xz
linux-dev-f40f299bbe806a2e2c8b0d7cdda822fa3bdd171b.zip
bnxt_re: Fix couple of memory leaks that could lead to IOMMU call traces
1. DMA-able memory allocated for Shadow QP was not being freed. 2. bnxt_qplib_alloc_qp_hdr_buf() had a bug wherein the SQ pointer was erroneously pointing to the RQ. But since the corresponding free_qp_hdr_buf() was correct, memory being free was less than what was allocated. Fixes: 1ac5a4047975 ("RDMA/bnxt_re: Add bnxt_re RoCE driver") Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/uverbs_main.c')
0 files changed, 0 insertions, 0 deletions