android_kernel_xiaomi_sdm845/drivers/infiniband/ulp/ipoib
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
..
ipoib_fs.c [IPoIB] add path record information in debugfs 2005-11-10 10:22:49 -08:00
ipoib_ib.c IB: convert from semaphores to mutexes 2006-01-13 14:51:39 -08:00
ipoib_main.c [NET]: Move destructor from neigh->ops to neigh_params 2006-03-20 22:25:41 -08:00
ipoib_multicast.c IPoIB: Yet another fix for send-only joins 2006-02-11 12:22:12 -08:00
ipoib_verbs.c IB: convert from semaphores to mutexes 2006-01-13 14:51:39 -08:00
ipoib_vlan.c IB: convert from semaphores to mutexes 2006-01-13 14:51:39 -08:00
ipoib.h IPoIB: Don't start send-only joins while multicast thread is stopped 2006-02-07 16:37:08 -08:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] IB: move include files to include/rdma 2005-08-26 20:37:38 -07:00