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
..
2006-02-13 11:39:57 +01:00
2006-02-13 15:34:11 -08:00
2006-03-20 17:56:32 -08:00
2006-02-02 16:57:31 -08:00
2005-04-24 20:10:16 -07:00
2006-01-12 14:06:39 -08:00
2006-01-09 14:16:08 -08:00
2005-05-19 12:42:39 -07:00
2005-08-29 16:01:32 -07:00
2006-01-03 14:10:46 -08:00
2005-04-16 15:20:36 -07:00
2005-08-29 15:32:25 -07:00
2006-01-03 13:11:21 -08:00
2006-03-19 13:20:06 -08:00
2005-04-16 15:20:36 -07:00
2005-09-08 12:32:46 -07:00
2005-08-29 15:32:25 -07:00
2006-01-08 20:14:07 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-01-08 20:14:07 -08:00
2005-10-08 15:00:57 -07:00
2005-12-05 13:42:06 -08:00
2005-04-16 15:20:36 -07:00
2006-01-07 12:57:28 -08:00
2005-04-16 15:20:36 -07:00
2006-01-03 13:10:24 -08:00
2005-04-16 15:20:36 -07:00
2006-01-13 13:06:40 -08:00
2006-01-03 13:11:21 -08:00
2006-01-27 17:08:07 -05:00
2005-09-21 23:03:55 -04:00
2006-01-30 20:35:35 -05:00
2006-03-20 16:54:09 -08:00
2006-01-03 13:10:46 -08:00
2006-01-03 13:10:47 -08:00
2006-01-03 13:11:15 -08:00
2006-03-20 22:01:03 -08:00
2006-01-03 13:11:21 -08:00
2006-01-03 13:11:21 -08:00
2006-01-03 13:11:21 -08:00
2006-01-03 13:11:21 -08:00
2006-01-03 13:10:31 -08:00
2005-04-16 15:20:36 -07:00
2005-06-21 13:51:04 -07:00
2006-03-20 17:06:24 -08:00
2005-04-16 15:20:36 -07:00
2006-01-03 13:11:21 -08:00
2005-04-16 15:20:36 -07:00
2006-01-03 13:11:21 -08:00
2006-02-15 15:10:22 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-03-20 18:03:16 -08:00
2005-04-16 15:20:36 -07:00
2006-01-16 16:51:53 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-10-08 15:00:57 -07:00
2005-04-16 15:20:36 -07:00
2005-11-14 21:58:18 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-09-22 07:57:21 -03:00
2005-09-22 05:14:33 -03:00
2006-03-20 17:06:24 -08:00
2006-03-20 22:25:41 -08:00
2005-11-10 02:26:40 +01:00
2005-10-28 16:53:13 -04:00
2005-08-29 16:01:32 -07:00
2006-01-03 13:11:21 -08:00
2005-08-29 15:33:26 -07:00
2006-01-09 14:16:05 -08:00
2006-01-07 12:57:29 -08:00
2005-08-29 15:32:25 -07:00
2006-01-03 13:11:21 -08:00
2005-08-29 15:37:22 -07:00
2005-11-05 22:02:24 +01:00
2006-01-03 13:10:36 -08:00
2005-04-16 15:20:36 -07:00
2006-01-31 17:35:35 -08:00
2005-07-05 14:15:09 -07:00
2006-03-20 21:31:51 -08:00
2005-07-05 15:12:04 -07:00
2005-06-21 18:46:13 -07:00
2006-03-17 16:05:43 -08:00
2005-09-14 08:36:54 -04:00
2005-08-29 15:43:19 -07:00
2006-01-03 13:10:57 -08:00
2006-03-20 17:53:41 -08:00
2006-01-03 13:10:54 -08:00
2006-01-03 13:10:38 -08:00
2006-01-03 13:11:21 -08:00
2005-08-29 15:32:25 -07:00
2005-08-29 15:33:26 -07:00
2006-03-20 19:17:25 -08:00