aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorPrabhakar Kushwaha <[email protected]>2021-10-19 11:22:12 +0300
committerJason Gunthorpe <[email protected]>2021-10-19 20:17:44 -0300
commit60fab1076636493cfa2686e712446595fe43bc16 (patch)
tree3a89aa81b75345e259e33f8aafdd715dc3ff353d /scripts/gcc-plugins/cyc_complexity_plugin.c
parent663991f32857b3b63c94c97de9dbb0ec8600144f (diff)
rdma/qedr: Fix crash due to redundant release of device's qp memory
Device's QP memory should only be allocated and released by IB layer. This patch removes the redundant release of the device's qp memory and uses completion APIs to make sure that .destroy_qp() only return, when qp reference becomes 0. Fixes: 514aee660df4 ("RDMA: Globally allocate and release QP memory") Link: https://lore.kernel.org/r/[email protected] Acked-by: Michal Kalderon <[email protected]> Signed-off-by: Ariel Elior <[email protected]> Signed-off-by: Shai Malin <[email protected]> Signed-off-by: Alok Prasad <[email protected]> Signed-off-by: Prabhakar Kushwaha <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions