Skip to content
Snippets Groups Projects
Commit 86c1aea8 authored by Brian Vazquez's avatar Brian Vazquez Committed by Daniel Borkmann
Browse files

selftests/bpf: test_progs: Don't leak server_fd in tcp_rtt


server_fd needs to be closed if pthread can't be created.

Fixes: 8a03222f ("selftests/bpf: test_progs: fix client/server race in tcp_rtt")
Signed-off-by: default avatarBrian Vazquez <brianvv@google.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Reviewed-by: default avatarStanislav Fomichev <sdf@google.com>
Link: https://lore.kernel.org/bpf/20191001173728.149786-2-brianvv@google.com
parent 1bd63524
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment