[Openib-windows] A typo when destroying thecq_tinfo in the function pnp_ca_remove
ftillier at silverstorm.com
Sun Jun 4 11:39:36 PDT 2006
On 6/4/06, Fabian Tillier <ftillier at silverstorm.com> wrote:
> 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.
I just checked in a fix for this, in revision 371.
More information about the ofw