Skip to content
Commit 1476de6d authored by Kunwu Chan's avatar Kunwu Chan Committed by Steffen Klassert
Browse files

xfrm: Simplify the allocation of slab caches in xfrm_policy_init



commit 0a31bd5f ("KMEM_CACHE(): simplify slab cache creation")
introduces a new macro.
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>
Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
parent ab1e1a38
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment