Re: [PATCH net] ipvs: Simplify the allocation of ip_vs_conn slab caches

2024-01-21 Thread Kunwu Chan
On 2024/1/19 23:20, Simon Horman wrote: On Thu, Jan 18, 2024 at 10:22:05AM +0800, Kunwu Chan wrote: Hi Simon, Thanks for your reply. On 2024/1/17 17:29, Simon Horman wrote: On Wed, Jan 17, 2024 at 03:20:45PM +0800, Kunwu Chan wrote: Use the new KMEM_CACHE() macro instead of direct

Re: [PATCH net] ipvs: Simplify the allocation of ip_vs_conn slab caches

2024-01-17 Thread Kunwu Chan
Hi Simon, Thanks for your reply. On 2024/1/17 17:29, Simon Horman wrote: On Wed, Jan 17, 2024 at 03:20:45PM +0800, Kunwu Chan wrote: Use the new KMEM_CACHE() macro instead of direct kmem_cache_create to simplify the creation of SLAB caches. Signed-off-by: Kunwu Chan Hi Kunwu Chan, I

[PATCH net] ipvs: Simplify the allocation of ip_vs_conn slab caches

2024-01-16 Thread Kunwu Chan
Use the new KMEM_CACHE() macro instead of direct kmem_cache_create to simplify the creation of SLAB caches. Signed-off-by: Kunwu Chan --- net/netfilter/ipvs/ip_vs_conn.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/net/netfilter/ipvs/ip_vs_conn.c b/net/netfilter/ipvs