]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Replace kfree with kvfree when free vhca stats
authorMaor Gottlieb <maorg@mellanox.com>
Mon, 16 Sep 2019 10:17:33 +0000 (13:17 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 29 Oct 2019 23:27:18 +0000 (16:27 -0700)
commit1e618f85169cc8cef08764e32b3beab1aea74321
tree4259f697c915028d3a9ad5fadd83d49374b127c1
parent230e537d33de258d707f3cdfca4826936aceb707
net/mlx5e: Replace kfree with kvfree when free vhca stats

Memory allocated by kvzalloc should be freed by kvfree.

Fixes: f67eaf9850f9 ("net/mlx5e: Add mlx5e HV VHCA stats agent")
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en/hv_vhca_stats.c