i40iw: Free QP resources on CQP destroy QP failure
authorShiraz Saleem <shiraz.saleem@intel.com>
Fri, 23 Jun 2017 21:03:59 +0000 (16:03 -0500)
committerDoug Ledford <dledford@redhat.com>
Thu, 20 Jul 2017 15:20:49 +0000 (11:20 -0400)
commitb5e452a04a10f12763f9836d3d3999f3bb1e56fb
treef39106f08be7a08c5cfd1fca5bed0363994305a3
parent6327cb09dfda103f7255ef218ac18697b293554a
i40iw: Free QP resources on CQP destroy QP failure

Current flow leaves software QP structures in memory if
Control Queue Pair (CQP) destroy QP OP fails. To fix this,
free QP resources on fail of CQP destroy QP OP.

Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Henry Orosco <henry.orosco@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_utils.c