[Openib-windows] A typo when destroying thecq_tinfo in the function pnp_ca_remove

Tzachi Dar tzachid at mellanox.co.il
Sun Jun 4 09:04:00 PDT 2006


Hi Fab,
 
While debugging a failure in the function pnp_ca_remove I have noticed
that the code takes an object from the linked list, removes it but than
it calls 
ib_destroy_cq_tinfo on the first item in the list. 
ib_destroy_cq_tinfo( hca->cq_tinfo );
 
I believe that what you really wanted to do was to call 
 
ib_destroy_cq_tinfo( p_cq_tinfo );
 
Do you agree?
 
Thanks
Tzachi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20060604/00ab9740/attachment.html>


More information about the ofw mailing list