[openib-general] Re: [PATCH] IPOIB: initialization patch in ipoib

Grant Grundler iod00d at hp.com
Fri Feb 18 08:57:05 PST 2005


On Fri, Feb 18, 2005 at 05:45:08PM +0200, Michael S. Tsirkin wrote:
> > -        kfree(neigh);
> >         neigh->neighbour->ops->destructor = NULL;
> > +        kfree(neigh);
> > 
> 
> If the order of these operations really matters, wont you need
> some kind of memory barrier in between?

The original code was wrong even on a strongly ordered memory machine.

grant



More information about the general mailing list