Skip to content
Commit f70baa7e authored by Nirranjan Kirubaharan's avatar Nirranjan Kirubaharan Committed by Jason Gunthorpe
Browse files

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: default avatarNirranjan Kirubaharan <nirranjan@chelsio.com>
Reviewed-by: default avatarPotnuri Bharat Teja <bharat@chelsio.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent cae626b9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment