]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit125c062e3a1aa99e9ed9d9013bdd2497bed2dada
treef39106f08be7a08c5cfd1fca5bed0363994305a3
parent70cdd859e9a05188f4f5fe3e8749480c4dd5e3a2
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