Skip to content
Commit d5f9142f authored by Kunwu Chan's avatar Kunwu Chan Committed by Florian Westphal
Browse files

ipvs: Simplify the allocation of ip_vs_conn slab caches



Use the new KMEM_CACHE() macro instead of direct kmem_cache_create
to simplify the creation of SLAB caches.

Signed-off-by: default avatarKunwu Chan <chentao@kylinos.cn>
Acked-by: default avatarSimon Horman <horms@kernel.org>
Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
parent 2ae6e9a0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment