[ofa-general] Re: IB/ipoib: Fix neigh destructor oops for kernels older than 2.6.21

Eli Cohen eli at dev.mellanox.co.il
Wed May 14 06:52:10 PDT 2008


On Wed, 2008-05-14 at 16:40 +0300, Or Gerlitz wrote:
> Eli Cohen wrote:
> > I add to the thread the author of the commit. I don't know this code
> > good enough to give an explanation but for kernels following this commit
> > I don't get these failures. Perhaps someone else can comment on this.
> >
> Even before understanding what Alexy's patch is doing, can you explain 
> why the ipoib neighbour destructor callback is called after the ipoib 
> module has been unloaded? is it b/c the stack did this call on a 
> neighbour created by another device such as loopack etc?
> 

That could be one reason for this. And it could be that the kernel does
not guarantee that all the neighbours destructors of the interface get
called before the interface is stopped (and the module is unloaded).




More information about the general mailing list