diff options
| author | Kunwu Chan <[email protected]> | 2024-01-30 09:25:36 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-02-01 00:39:46 +0000 |
| commit | 2dc23b6f852bc7816d7ab421979d95223e894be3 (patch) | |
| tree | 7530c5e4681f9ffe79e52643a13ea9412be70da3 /net/unix/scm.c | |
| parent | net: ipv4: Simplify the allocation of slab caches in inet_initpeers (diff) | |
| download | kernel-2dc23b6f852bc7816d7ab421979d95223e894be3.tar.gz kernel-2dc23b6f852bc7816d7ab421979d95223e894be3.zip | |
net: bridge: Use KMEM_CACHE instead of kmem_cache_create
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 <[email protected]>
Acked-by: Nikolay Aleksandrov <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/scm.c')
0 files changed, 0 insertions, 0 deletions
