[Openib-windows] srp blue screen when CM fail to connect
Fabian Tillier
ftillier at silverstorm.com
Mon Sep 11 10:32:13 PDT 2006
Hi Yossi,
On 9/10/06, Yossi Leybovich <sleybo at mellanox.co.il> wrote:
>
> Fab
>
> We still get the blue screen (even on new installation ) on object
> destruction.
> The problem is with ib_close_ca .
> The ca object is using sync destruction (AL_OBJ_SUBTYPE_UM_EXPORT) but its
> destruction still use ib_syn_destroy flag.
>
> proxy_close_ca function:
>
> /*
> * Note that we hold a reference on the CA, so we need to
> * call close_ca, not ib_close_ca. We also don't release the reference
> * since close_ca will do so (by destroying the object).
> */
> h_ca->obj.pfn_destroy( &h_ca->obj, ib_sync_destroy );
> p_ioctl->out.status = IB_SUCCESS;
> The code does not protect sync objects from using the ib_sync_destroy
> function and we end up with calling 0xffffffff.
> We can fix the call in proxy_close_ca but there are more places that use
> ib_sync_destroy function
> I think the way to solve this is to check ib_sync_destroy also in the
> sync_destroy_obj function .
>
> This patch fix the problem :
I committed a very similar fix, based on what you provided here, in
revision 488. The main change was that I checked the callback pointer
when the internal 'user_destroy_cb' field is set.
Thanks,
- Fab
More information about the ofw
mailing list