summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorZhipeng Lu <alexious@zju.edu.cn>2024-01-17 10:17:36 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2024-01-24 11:15:38 +0300
commit3c6d5189246f590e4e1f167991558bdb72a4738b (patch)
tree7d6bebd3b38c73fa94bdc567eb06ca995f665c79 /tools/perf/scripts/python/stackcollapse.py
parent315a597f9bcfe7fe9980985031413457bee95510 (diff)
downloadlinux-3c6d5189246f590e4e1f167991558bdb72a4738b.tar.xz
net/mlx5e: fix a double-free in arfs_create_groups
When `in` allocated by kvzalloc fails, arfs_create_groups will free ft->g and return an error. However, arfs_create_table, the only caller of arfs_create_groups, will hold this error and call to mlx5e_destroy_flow_table, in which the ft->g will be freed again. Fixes: 1cabe6b0965e ("net/mlx5e: Create aRFS flow tables") Signed-off-by: Zhipeng Lu <alexious@zju.edu.cn> Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions