]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitd32d9bb85c65f52bed99a0149b47e9f6578c44c5
tree96dfb7a0eefaed30e0a63442337907166dbe9526
parent5812521be0f79583a26e203ac5f23de679cbdd94
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>
include/net/netns/xfrm.h
net/core/flow.c