summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c
diff options
context:
space:
mode:
authorZiyang Xuan <william.xuanziyang@huawei.com>2022-04-20 18:36:17 +0800
committerSaeed Mahameed <saeedm@nvidia.com>2022-05-02 21:21:10 -0700
commitc389362096be8ee69ec3a163a0699a31e84b8451 (patch)
tree0f6a8afc8b3f322a905b0d36865cb40acc1edf66 /drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c
parent0530a683fc858aa641d88ad83315ea53c27bce10 (diff)
net/mlx5: use kvfree() for kvzalloc() in mlx5_ct_fs_smfs_matcher_create
The memory of spec is allocated with kvzalloc(), the corresponding release function should not be kfree(), use kvfree() instead. Generated by: scripts/coccinelle/api/kfree_mismatch.cocci Signed-off-by: Ziyang Xuan <william.xuanziyang@huawei.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c')
0 files changed, 0 insertions, 0 deletions