Commit bca555e8 authored by Denis Efremov's avatar Denis Efremov Committed by Greg Kroah-Hartman
Browse files

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



[ Upstream commit 360000b2 ]

Use kfree() instead of kvfree() on ft->g in arfs_create_groups() because
the memory is allocated with kcalloc().

Signed-off-by: default avatarDenis Efremov <efremov@linux.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
Stable-dep-of: 3c6d5189 ("net/mlx5e: fix a double-free in arfs_create_groups")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 0917d771
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment