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

Fabian Tillier ftillier at silverstorm.com
Sun Jun 4 10:15:36 PDT 2006


Hi Tzachi,

On 6/4/06, Tzachi Dar <tzachid at mellanox.co.il> wrote:
>
> 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?

Yes, that's right.  Do you already have a fix for this or do you want
me to code this up?  If you already have it, please just go ahead and
check it in.

Thanks,

- Fab



More information about the ofw mailing list