]> git.baikalelectronics.ru Git - kernel.git/commit
flowcache: restore a single flow_cache kmem_cache
authorEric Dumazet <edumazet@google.com>
Mon, 10 Mar 2014 14:09:07 +0000 (07:09 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Mar 2014 01:45:11 +0000 (21:45 -0400)
commit88b46be0f94141c942c5f3f607b6238caf6c7e2a
tree96dfb7a0eefaed30e0a63442337907166dbe9526
parent7d57ca9e794e79b08e8074bc97088c814d57c4b7
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: 4bb3be336df4 ("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>
include/net/netns/xfrm.h
net/core/flow.c