[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:38:10 PDT 2008


On Wed, 2008-05-14 at 15:52 +0300, Or Gerlitz wrote:
> Eli Cohen wrote:
> > IB/ipoib: Fix neigh destructor oops
> >
> > For kernels 2.6.20 and older, it may happen that the pointer to
> > ipoib_neigh_cleanup() is called after IPoIB has been unloades,
> > causing a kernel oops. This problem has been fixed for 2.6.21 with
> > the following commit: ecbb416939da77c0d107409976499724baddce7b
> Hi Eli,
> 
> Before looking into the solution, I'd like to slow down a little and 
> understand the problem (how can ipoib_neigh_cleanup() called after IPoIB 
> has been unloaded) and why does the commit below solve it, from its 
> change-log I don't see any reference to this problem:
> 
> > commit ecbb416939da77c0d107409976499724baddce7b
> > Author: Alexey Kuznetsov <kuznet at ms2.inr.ac.ru>
> > Date:   Sat Mar 24 12:52:16 2007 -0700
> >
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.




More information about the general mailing list