summaryrefslogtreecommitdiffstats
path: root/include/net/neighbour.h
diff options
context:
space:
mode:
authorDavid Miller <davem@davemloft.net>2011-07-25 02:01:22 +0200
committerDavid S. Miller <davem@davemloft.net>2011-12-01 00:46:43 +0100
commit5b8b0060cbd6332ae5d1fa0bec0e8e211248d0e7 (patch)
tree40ba4f43e875c830aefc3aef42fc05510b624922 /include/net/neighbour.h
parentneigh: Create mechanism for generic neigh private areas. (diff)
downloadlinux-5b8b0060cbd6332ae5d1fa0bec0e8e211248d0e7.tar.xz
linux-5b8b0060cbd6332ae5d1fa0bec0e8e211248d0e7.zip
neigh: Get rid of neigh_table->kmem_cachep
We are going to alloc for device specific private areas for neighbour entries, and in order to do that we have to move away from the fixed allocation size enforced by using neigh_table->kmem_cachep As a nice side effect we can now use kfree_rcu(). Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/neighbour.h')
-rw-r--r--include/net/neighbour.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/neighbour.h b/include/net/neighbour.h
index 87c0e5ce6492..e31f0a86f9b7 100644
--- a/include/net/neighbour.h
+++ b/include/net/neighbour.h
@@ -173,7 +173,6 @@ struct neigh_table {
atomic_t entries;
rwlock_t lock;
unsigned long last_rand;
- struct kmem_cache *kmem_cachep;
struct neigh_statistics __percpu *stats;
struct neigh_hash_table __rcu *nht;
struct pneigh_entry **phash_buckets;