[ofa-general] Re: [openib-general] [RFC] [PATCH v2] IB/ipoib: Add bonding support to IPoIB

Michael S. Tsirkin mst at mellanox.co.il
Mon Mar 5 09:58:25 PST 2007


> >> +			if (ipoib_at_exit)
> >> +				nn->neighbour->parms->neigh_destructor = NULL;
> > 
> > Is it safe to do this without locking?
> > Could the destructor be in progress when we do this?
> I think you're right. Maybe I need to attack the issue in a different way.
> I need to do some rethinking.

The basic problem seems to be that bonding code is taking a pointer
into the module (neighbour setup) without taking reference on
the module.

-- 
MST




More information about the general mailing list