Re: [PATCH] net/mlx5: Use kfree(ft->g) in arfs_create_groups()

2020-06-11 Thread Saeed Mahameed
On Fri, 2020-06-05 at 12:57 -0700, Eric Dumazet wrote: > > On 6/5/20 12:22 PM, Denis Efremov wrote: > > Use kfree() instead of kvfree() on ft->g in arfs_create_groups() > > because > > the memory is allocated with kcalloc(). > > > > Signed-off-by: Denis Efremov > > --- > >

Re: [PATCH] net/mlx5: Use kfree(ft->g) in arfs_create_groups()

2020-06-05 Thread Eric Dumazet
On 6/5/20 12:22 PM, Denis Efremov wrote: > Use kfree() instead of kvfree() on ft->g in arfs_create_groups() because > the memory is allocated with kcalloc(). > > Signed-off-by: Denis Efremov > --- > drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c | 2 +- > 1 file changed, 1 insertion(+), 1

[PATCH] net/mlx5: Use kfree(ft->g) in arfs_create_groups()

2020-06-05 Thread Denis Efremov
Use kfree() instead of kvfree() on ft->g in arfs_create_groups() because the memory is allocated with kcalloc(). Signed-off-by: Denis Efremov --- drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git