Skip to content
Commit a1b50001 authored by Pan Bian's avatar Pan Bian Committed by Greg Kroah-Hartman
Browse files

net/mlx5e: free page before return

[ Upstream commit 258ed19f ]

Instead of directly return, goto the error handling label to free
allocated page.

Fixes: 5f29458b

 ("net/mlx5e: Support dump callback in TX reporter")
Signed-off-by: default avatarPan Bian <bianpan2016@163.com>
Reviewed-by: default avatarLeon Romanovsky <leonro@nvidia.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 2778913f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment