summaryrefslogtreecommitdiff
path: root/include/net/netns/xfrm.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2014-03-10 18:09:07 +0400
committerDavid S. Miller <davem@davemloft.net>2014-03-11 05:45:11 +0400
commitd32d9bb85c65f52bed99a0149b47e9f6578c44c5 (patch)
tree96dfb7a0eefaed30e0a63442337907166dbe9526 /include/net/netns/xfrm.h
parent5812521be0f79583a26e203ac5f23de679cbdd94 (diff)
downloadlinux-d32d9bb85c65f52bed99a0149b47e9f6578c44c5.tar.xz
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/net/netns/xfrm.h')
-rw-r--r--include/net/netns/xfrm.h1
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 {
/* flow cache part */
struct flow_cache flow_cache_global;
- struct kmem_cache *flow_cachep;
atomic_t flow_cache_genid;
struct list_head flow_cache_gc_list;
spinlock_t flow_cache_gc_lock;