aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/progs/test_tcp_custom_syncookie.c
diff options
context:
space:
mode:
authorMa Ke <[email protected]>2024-06-23 13:17:53 +0000
committerAndrii Nakryiko <[email protected]>2024-06-26 23:36:59 +0000
commitd07980f7373b4c57c85478f8e815cc7b9b394c05 (patch)
treeff6d8308e02da9c27c0e04ec2e8d4b2934ee74e0 /tools/testing/selftests/bpf/progs/test_tcp_custom_syncookie.c
parentbpf: add new negative selftests to cover missing check_func_arg_reg_off() and... (diff)
downloadkernel-d07980f7373b4c57c85478f8e815cc7b9b394c05.tar.gz
kernel-d07980f7373b4c57c85478f8e815cc7b9b394c05.zip
selftests/bpf: Don't close(-1) in serial_test_fexit_stress()
Guard close() with extra link_fd[i] > 0 and fexit_fd[i] > 0 check to prevent close(-1). Signed-off-by: Ma Ke <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_tcp_custom_syncookie.c')
0 files changed, 0 insertions, 0 deletions