diff options
author | Chuhong Yuan <hslester96@gmail.com> | 2019-07-17 12:14:57 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-18 21:11:12 +0200 |
commit | 7369c10f81172b55b284944caa2f51f595bbdb84 (patch) | |
tree | 75595fcda9e29288d063a6b5f07209958ce02fb8 /tools/testing/selftests/bpf/progs/loop3.c | |
parent | MAINTAINERS: update netsec driver (diff) | |
download | linux-7369c10f81172b55b284944caa2f51f595bbdb84.tar.xz linux-7369c10f81172b55b284944caa2f51f595bbdb84.zip |
net/mlx5: Replace kfree with kvfree
Variable allocated by kvmalloc should not be freed by kfree.
Because it may be allocated by vmalloc.
So replace kfree with kvfree here.
Fixes: 9b1f298236057 ("net/mlx5: Add support for FW fatal reporter dump")
Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Acked-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/loop3.c')
0 files changed, 0 insertions, 0 deletions