diff options
| author | Ma Ke <[email protected]> | 2024-06-23 13:17:53 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2024-06-26 23:36:59 +0000 |
| commit | d07980f7373b4c57c85478f8e815cc7b9b394c05 (patch) | |
| tree | ff6d8308e02da9c27c0e04ec2e8d4b2934ee74e0 /tools/testing/selftests/bpf/progs/test_tcp_custom_syncookie.c | |
| parent | bpf: add new negative selftests to cover missing check_func_arg_reg_off() and... (diff) | |
| download | kernel-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
