[ofa-general] [RFC] ipoib: avoid using stale ipoib_neigh* in ipoib_neigh_cleanup()

akepner at sgi.com akepner at sgi.com
Fri May 22 14:24:38 PDT 2009


On Sat, May 23, 2009 at 12:16:24AM +0300, Yossi Etigin wrote:
> ....
> So it's a catch.. You can't take priv out of neigh without being 
> protected by the spinlock (or someone will kfree the neigh), but you
> need priv to get the spinlock in the first place..

Exactly.

-- 
Arthur




More information about the general mailing list