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-19 Thread Simon Horman
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 kmem_cache_create > > > to

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

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

2024-01-17 Thread Simon Horman
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 think this is more of a cleanup than a fix, so it should probably be

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

2024-01-17 Thread Denis Kirjanov
On 1/17/24 10:20, 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 The patch is actually for net-next > --- > net/netfilter/ipvs/ip_vs_conn.c | 4 +--- > 1 file changed, 1

[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