commit | f70baa7ee3d1b5a9e66ac7549e31641a656f23c1 | [log] [tgz] |
---|---|---|
author | Nirranjan Kirubaharan <nirranjan@chelsio.com> | Thu May 23 00:05:39 2019 -0700 |
committer | Jason Gunthorpe <jgg@mellanox.com> | Mon May 27 14:58:24 2019 -0300 |
tree | 71d54827b617e43e8dfbdb2d571fafc264acd459 | |
parent | cae626b97851afc2219e7607183a9a23cbba3bef [diff] |
iw_cxgb4: Fix qpid leak Add await in destroy_qp() so that all references to qp are dereferenced and qp is freed in destroy_qp() itself. This ensures freeing of all QPs before invocation of dealloc_ucontext(), which prevents loss of in use qpids stored in the ucontext. Signed-off-by: Nirranjan Kirubaharan <nirranjan@chelsio.com> Reviewed-by: Potnuri Bharat Teja <bharat@chelsio.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>