diff options
author | Eric Dumazet <edumazet@google.com> | 2014-03-10 10:09:07 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-10 21:45:11 -0400 |
commit | d32d9bb85c65f52bed99a0149b47e9f6578c44c5 (patch) | |
tree | 96dfb7a0eefaed30e0a63442337907166dbe9526 /include | |
parent | 5812521be0f79583a26e203ac5f23de679cbdd94 (diff) |
flowcache: restore a single flow_cache kmem_cache
It is not legal to create multiple kmem_cache having the same name.
flowcache can use a single kmem_cache, no need for a per netns
one.
Fixes: ca925cf1534e ("flowcache: Make flow cache name space aware")
Reported-by: Jakub Kicinski <moorray3@wp.pl>
Tested-by: Jakub Kicinski <moorray3@wp.pl>
Tested-by: Fan Du <fan.du@windriver.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/netns/xfrm.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/netns/xfrm.h b/include/net/netns/xfrm.h index 51f0dce7b643..3492434baf88 100644 --- a/include/net/netns/xfrm.h +++ b/include/net/netns/xfrm.h | |||
@@ -64,7 +64,6 @@ struct netns_xfrm { | |||
64 | 64 | ||
65 | /* flow cache part */ | 65 | /* flow cache part */ |
66 | struct flow_cache flow_cache_global; | 66 | struct flow_cache flow_cache_global; |
67 | struct kmem_cache *flow_cachep; | ||
68 | atomic_t flow_cache_genid; | 67 | atomic_t flow_cache_genid; |
69 | struct list_head flow_cache_gc_list; | 68 | struct list_head flow_cache_gc_list; |
70 | spinlock_t flow_cache_gc_lock; | 69 | spinlock_t flow_cache_gc_lock; |