kernel-ark/net/core
Michael S. Tsirkin c5ecd62c25 [NET]: Move destructor from neigh->ops to neigh_params
struct neigh_ops currently has a destructor field, which no in-kernel
drivers outside of infiniband use.  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.  Two additional
patches in the patch series update ipoib to use this new interface.

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-03-20 22:25:41 -08:00
..
datagram.c [NET]: Revert skb_copy_datagram_iovec() recursion elimination. 2006-02-13 16:06:10 -08:00
dev_mcast.c
dev.c [NET]: Convert RTNL to mutex. 2006-03-20 22:23:58 -08:00
dst.c
dv.c
ethtool.c
filter.c [NET]: more whitespace issues in net/core/filter.c 2006-01-23 16:26:16 -08:00
flow.c
gen_estimator.c
gen_stats.c
iovec.c
link_watch.c [NET]: Convert RTNL to mutex. 2006-03-20 22:23:58 -08:00
Makefile [PATCH] net/: fix the WIRELESS_EXT abuse 2006-01-30 20:35:30 -05:00
neighbour.c [NET]: Move destructor from neigh->ops to neigh_params 2006-03-20 22:25:41 -08:00
net-sysfs.c [NET] core: add RFC2863 operstate 2006-03-20 17:09:11 -08:00
netpoll.c [NET]: Convert RTNL to mutex. 2006-03-20 22:23:58 -08:00
pktgen.c [PKTGEN]: Updates version. 2006-03-20 22:25:05 -08:00
request_sock.c [REQSK]: Don't reset rskq_defer_accept in reqsk_queue_alloc 2006-02-27 13:30:43 -08:00
rtnetlink.c [NET]: Convert RTNL to mutex. 2006-03-20 22:23:58 -08:00
scm.c
skbuff.c [NET]: Uninline kfree_skb and allow NULL argument 2006-03-20 21:28:35 -08:00
sock.c
stream.c
sysctl_net_core.c [IPSEC]: Sync series - core changes 2006-03-20 19:15:11 -08:00
utils.c [PATCH] percpu data: only iterate over possible CPUs 2006-02-05 11:06:51 -08:00
wireless.c