On Tue, Apr 04, 2006 at 05:07:20PM -0700, David S. Miller wrote:
> From: [email protected]
> Date: Tue, 4 Apr 2006 17:00:30 -0700
>
> > From: Michael Tsirkin <[email protected]>
> >
> > struct neigh_ops currently has a destructor field, but not a constructor field.
> > The infiniband/ulp/ipoib in-tree driver stashes some info in the neighbour
> > structure (the results of the second-stage lookup from ARP results to real
> > link-level path), and it uses neigh->ops->destructor to get a callback so it can
> > clean up this extra info when a neighbour is freed. We've run into problems
> > with this: since the destructor is in an ops field that is shared between
> > neighbours that may belong to different net devices, there's no way to set/clear
> > it safely.
> >
> > The following patch moves this field to neigh_parms where it can be safely set,
> > together with its twin neigh_setup, and switches the only two in-kernel users
> > (ipoib and clip) to this interface.
>
> Major NAK.
>
> This does not fix a bug, it is merely and API change that the
> inifiniband folks want for some of their infrastructure.
>
> It was accepted for 2.6.17, but this change is not appropriate
> for the -stable release branch.
>
> Furthermore, this version of the patch here will break the build of
> ATM.
Thanks for the information and the review, I've dropped this patch from
the queue now.
greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]