summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorDinghao Liu <dinghao.liu@zju.edu.cn>2020-12-21 14:27:31 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2021-01-07 23:22:51 +0300
commit5b0bb12c58ac7d22e05b5bfdaa30a116c8c32e32 (patch)
tree9735d52352687acf93654ff578845f8eb61d1c01 /scripts/gdb/linux/utils.py
parent7a6eb072a9548492ead086f3e820e9aac71c7138 (diff)
downloadlinux-5b0bb12c58ac7d22e05b5bfdaa30a116c8c32e32.tar.xz
net/mlx5e: Fix memleak in mlx5e_create_l2_table_groups
When mlx5_create_flow_group() fails, ft->g should be freed just like when kvzalloc() fails. The caller of mlx5e_create_l2_table_groups() does not catch this issue on failure, which leads to memleak. Fixes: 33cfaaa8f36f ("net/mlx5e: Split the main flow steering table") Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn> Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions