]> 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)
commit32b89b93202003204c0852415d885c046e535f9c
tree4259f697c915028d3a9ad5fadd83d49374b127c1
parente6f51dc66034e338990ee50812758bb778f7023b
net/mlx5e: Replace kfree with kvfree when free vhca stats

Memory allocated by kvzalloc should be freed by kvfree.

Fixes: 009411e71925 ("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