Messages in this thread | | | Date | Mon, 5 Apr 2021 07:56:29 +0300 | From | Leon Romanovsky <> | 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@huawei.com> > --- > .../net/ethernet/mellanox/mlx5/core/esw/indir_table.c | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) >
Thanks, Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
| |