[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070318203345.GF11078@mellanox.co.il>
Date: Sun, 18 Mar 2007 22:33:45 +0200
From: "Michael S. Tsirkin" <mst@....mellanox.co.il>
To: Alexey Kuznetsov <kuznet@....inr.ac.ru>
Cc: "Michael S. Tsirkin" <mst@....mellanox.co.il>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
netdev@...r.kernel.org, general@...ts.openfabrics.org,
Roland Dreier <rolandd@...co.com>
Subject: Re: dst_ifdown breaks infiniband?
Quoting Alexey Kuznetsov <kuznet@....inr.ac.ru>:
Subject: Re: dst_ifdown breaks infiniband?
> > Can dst->neighbour be changed to point to NULL instead, and the neighbour
> > released?
>
> It should be cleared and we should be sure it will not be destroyed
> before quiescent state.
>
> Seems, this is the only correct solution, but to do this we have
> to audit all the places where dst->neighbour is dereferenced for
> RCU safety.
>
> Actually, it is very good you caught this eventually, the bug was
> so _disgusting_ that it was "forgotten" all the time, waiting for
> someone who will point out that the king is naked. :-)
Actually that might not be too bad:
$grep -rIi 'dst->neighbour' net/ | wc -l
36
I'll try to do it.
--
MST
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists