aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorDinghao Liu <[email protected]>2020-12-28 16:48:40 +0800
committerSaeed Mahameed <[email protected]>2021-01-07 12:22:50 -0800
commit7a6eb072a9548492ead086f3e820e9aac71c7138 (patch)
tree1d00030f40ecbe7eee97563a11d9c9c16b0435da /scripts/gdb/linux/utils.py
parent4d8be21112f6fa2ac4b8a13f35866ad65b11d48c (diff)
net/mlx5e: Fix two double free cases
mlx5e_create_ttc_table_groups() frees ft->g on failure of kvzalloc(), but such failure will be caught by its caller in mlx5e_create_ttc_table() and ft->g will be freed again in mlx5e_destroy_flow_table(). The same issue also occurs in mlx5e_create_ttc_table_groups(). Set ft->g to NULL after kfree() to avoid double free. Fixes: 7b3722fa9ef6 ("net/mlx5e: Support RSS for GRE tunneled packets") Fixes: 33cfaaa8f36f ("net/mlx5e: Split the main flow steering table") Signed-off-by: Dinghao Liu <[email protected]> Reviewed-by: Leon Romanovsky <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions