Re: [PATCH] net/mlx5e: free page before return

From: Saeed Mahameed
Date: Fri Jan 22 2021 - 17:45:10 EST


On Thu, 2021-01-21 at 19:49 +0200, Leon Romanovsky wrote:
> On Wed, Jan 20, 2021 at 08:58:30PM -0800, Pan Bian wrote:
> > Instead of directly return, goto the error handling label to free
> > allocated page.
> >
> > Fixes: 5f29458b77d5 ("net/mlx5e: Support dump callback in TX
> > reporter")
> > Signed-off-by: Pan Bian <bianpan2016@xxxxxxx>
> > ---
> > drivers/net/ethernet/mellanox/mlx5/core/en/health.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
>
> Thanks,
> Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxx>

Applied to net-mlx5,
Thanks!