Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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 360000b26e37a75b3000bf0585b263809d96ffd3 ]

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: 3c6d5189246f ("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 register or to comment