Re: [PATCH v3] IB/ipoib: fix dangling pointer references to ipoib_neigh and ipoib_path

2010-03-29 Thread Roland Dreier
> > > @@ -249,44 +252,26 @@ static int __path_add(struct net_device *dev, > > > struct ipoib_path *path) > > > n = &pn->rb_left; > > > else if (ret > 0) > > > n = &pn->rb_right; > > > -else > > > -

Re: [PATCH v3] IB/ipoib: fix dangling pointer references to ipoib_neigh and ipoib_path

2010-03-29 Thread Ralph Campbell
On Sun, 2010-03-28 at 09:02 -0700, Eli Cohen wrote: > On Thu, Mar 04, 2010 at 10:58:27AM -0800, Ralph Campbell wrote: > > Subject: [PATCH v3] IB/ipoib: fix dangling pointer references to > > ipoib_neigh and ipoib_path > > > > When using connected mode, ipoib_cm_create

Re: [PATCH v3] IB/ipoib: fix dangling pointer references to ipoib_neigh and ipoib_path

2010-03-28 Thread Eli Cohen
On Thu, Mar 04, 2010 at 10:58:27AM -0800, Ralph Campbell wrote: > Subject: [PATCH v3] IB/ipoib: fix dangling pointer references to ipoib_neigh > and ipoib_path > > When using connected mode, ipoib_cm_create_tx() kmallocs a > struct ipoib_cm_tx which contains pointers to

[PATCH v3] IB/ipoib: fix dangling pointer references to ipoib_neigh and ipoib_path

2010-03-04 Thread Ralph Campbell
Subject: [PATCH v3] IB/ipoib: fix dangling pointer references to ipoib_neigh and ipoib_path When using connected mode, ipoib_cm_create_tx() kmallocs a struct ipoib_cm_tx which contains pointers to ipoib_neigh and ipoib_path. If the paths are flushed or the struct neighbour is destroyed, the