aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2020-09-28 09:05:56 +0000
committerSaeed Mahameed <[email protected]>2020-10-01 04:26:31 +0000
commit7b2b16ee54cc08e268ddae59152cc99ec8275e1c (patch)
tree07c23a164bd254de4eac8b0fb1949d36651ac761 /tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c
parentnet/mlx5: Fix dereference on pointer attr after null check (diff)
downloadkernel-7b2b16ee54cc08e268ddae59152cc99ec8275e1c.tar.gz
kernel-7b2b16ee54cc08e268ddae59152cc99ec8275e1c.zip
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 <[email protected]> Reviewed-by: Leon Romanovsky <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c')
0 files changed, 0 insertions, 0 deletions