xfrm6_tunnel: Use KMEM_CACHE instead of kmem_cache_create
authorKunwu Chan <chentao@kylinos.cn>
Wed, 24 Jan 2024 06:31:50 +0000 (14:31 +0800)
committerSteffen Klassert <steffen.klassert@secunet.com>
Thu, 25 Jan 2024 08:03:29 +0000 (09:03 +0100)
commitab1e1a38de240057ed108075abd1309c02e2a2a4
tree65e87bb668a094e284c40b7d8939ac2e14f13b6a
parent63b21caba17ef2df5982c7b75eb989100212b27b
xfrm6_tunnel: Use KMEM_CACHE instead of kmem_cache_create

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>
net/ipv6/xfrm6_tunnel.c