Kunwu Chan 57f2c6350f net: ipv4: Simplify the allocation of slab caches in inet_initpeers
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>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Link: https://lore.kernel.org/r/20240130092255.73078-1-chentao@kylinos.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-01-31 16:39:42 -08:00
..
2023-10-25 10:38:07 +01:00
2021-05-17 15:29:35 -07:00
2024-01-23 15:13:55 +01:00
2024-01-04 10:23:10 -08:00
2023-04-13 16:43:38 -07:00
2024-01-04 10:23:10 -08:00
2023-10-16 21:05:33 -07:00
2021-05-17 15:29:35 -07:00
2022-12-20 03:13:45 +01:00
2024-01-23 10:22:31 +01:00
2021-05-17 15:29:35 -07:00
2023-09-14 16:16:36 +02:00
2023-08-29 17:39:15 -07:00