]> git.baikalelectronics.ru Git - kernel.git/commit
i40iw: Free QP PBLEs when the QP is destroyed
authorTatyana Nikolova <Tatyana.E.Nikolova@intel.com>
Thu, 6 Jul 2017 02:25:33 +0000 (21:25 -0500)
committerDoug Ledford <dledford@redhat.com>
Thu, 20 Jul 2017 15:20:49 +0000 (11:20 -0400)
commitce6b1a7d44992fd5b9e1c8dfbc46ac73c7469a9b
tree32882d7692b222f493cd5a79412dff6b983994bb
parent0f213c50e540d415fa65fbc1baa2426a0341fdc2
i40iw: Free QP PBLEs when the QP is destroyed

If the physical buffer list entries (PBLEs) of a QP are freed
up at i40iw_dereg_mr, they can be assigned to a newly
created QP before the previous QP is destroyed. Fix this
by freeing PBLEs only when the QP is destroyed.

Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
Signed-off-by: Faisal Latif <faisal.latif@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_verbs.c
drivers/infiniband/hw/i40iw/i40iw_verbs.h