On 05/09/2011 05:34 PM, Hefty, Sean wrote:

>> I also think there's a bug with ucma_create_cqs()/ucma_destroy_cqs()
>> because ucma_destroy_cqs unconditionally destroys the CQs, even if they
>> were given by the application. librdmacm should only destroy the CQs it
>> created.
> 
> I think we're okay here.  ucma_create_cqs() only allocates a CQ if the user 
> specified a CQ of NULL as part of the QP attributes.  It stores the allocated 
> CQ in id->send/recv_cq.  ucma_destroy_cqs() checks for id->send/recv_cq and 
> destroys them.

Indeed. Sorry.

Frank.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to