summaryrefslogtreecommitdiff
path: root/scripts/gen_compile_commands.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2020-09-28 12:05:56 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2020-10-01 07:26:31 +0300
commit7b2b16ee54cc08e268ddae59152cc99ec8275e1c (patch)
tree07c23a164bd254de4eac8b0fb1949d36651ac761 /scripts/gen_compile_commands.py
parent5efbe617888a4ba29e260d1233afbd9524608805 (diff)
downloadlinux-7b2b16ee54cc08e268ddae59152cc99ec8275e1c.tar.xz
net/mlx5e: Fix a use after free on error in mlx5_tc_ct_shared_counter_get()
This code frees "shared_counter" and then dereferences on the next line to get the error code. Fixes: 1edae2335adf ("net/mlx5e: CT: Use the same counter for both directions") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions