commit | 1476de6d2b578673e20fb4cf654ff61cf2782873 | [log] [tgz] |
---|---|---|
author | Kunwu Chan <chentao@kylinos.cn> | Tue Jan 30 16:14:11 2024 +0800 |
committer | Steffen Klassert <steffen.klassert@secunet.com> | Fri Feb 09 06:48:04 2024 +0100 |
tree | 8f33ad8763c32b9940493fc5eab342f1a9615fc4 | |
parent | ab1e1a38de240057ed108075abd1309c02e2a2a4 [diff] |
xfrm: Simplify the allocation of slab caches in xfrm_policy_init commit 0a31bd5f2bbb ("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: Kunwu Chan <chentao@kylinos.cn> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>