diff options
author | Brian Vazquez <brianvv@google.com> | 2019-10-01 10:37:28 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-10-02 00:58:07 +0200 |
commit | a2d074e4c6e81ec9ab359d54f0b88273c738de37 (patch) | |
tree | e6302a510716d7cdbe7654c7faf956d9dcc4e2b9 /block | |
parent | 86c1aea84b97120a6d428ce17a2ebd55be677f56 (diff) | |
download | linux-a2d074e4c6e81ec9ab359d54f0b88273c738de37.tar.gz linux-a2d074e4c6e81ec9ab359d54f0b88273c738de37.tar.bz2 linux-a2d074e4c6e81ec9ab359d54f0b88273c738de37.zip |
selftests/bpf: test_progs: Don't leak server_fd in test_sockopt_inherit
server_fd needs to be closed if pthread can't be created.
Fixes: e3e02e1d9c24 ("selftests/bpf: test_progs: convert test_sockopt_inherit")
Signed-off-by: Brian Vazquez <brianvv@google.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Stanislav Fomichev <sdf@google.com>
Link: https://lore.kernel.org/bpf/20191001173728.149786-3-brianvv@google.com
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions