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

2021-01-22 Thread Saeed Mahameed
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") > >

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

2021-01-21 Thread Leon Romanovsky
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 > --- >

[PATCH] net/mlx5e: free page before return

2021-01-21 Thread Pan Bian
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 --- drivers/net/ethernet/mellanox/mlx5/core/en/health.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff