[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YGqYfcCMWTW8fN7U@unreal>
Date: Mon, 5 Apr 2021 07:56:29 +0300
From: Leon Romanovsky <leon@...nel.org>
To: Xiaoming Ni <nixiaoming@...wei.com>
Cc: linux-kernel@...r.kernel.org, vladbu@...dia.com,
dlinkin@...dia.com, saeedm@...dia.com, davem@...emloft.net,
kuba@...nel.org, roid@...dia.com, dan.carpenter@...cle.com,
netdev@...r.kernel.org, linux-rdma@...r.kernel.org,
xiaoqian9@...wei.com
Subject: Re: [PATCH] net/mlx5: fix kfree mismatch in indir_table.c
On Mon, Apr 05, 2021 at 10:53:39AM +0800, Xiaoming Ni wrote:
> Memory allocated by kvzalloc() should be freed by kvfree().
>
> Fixes: 34ca65352ddf2 ("net/mlx5: E-Switch, Indirect table infrastructur")
> Signed-off-by: Xiaoming Ni <nixiaoming@...wei.com>
> ---
> .../net/ethernet/mellanox/mlx5/core/esw/indir_table.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
Thanks,
Reviewed-by: Leon Romanovsky <leonro@...dia.com>
Powered by blists - more mailing lists