]> 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)
commit005432a0e0b92ff3a12e49d3a88721ef982df32c
tree96dfb7a0eefaed30e0a63442337907166dbe9526
parent482f060df16590f27345cfcccfdb5e422974bce1
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: f87ce316a7a3 ("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