commit | 8d30e80a049ad699264e4a12911e349f93c7279a | [log] [tgz] |
---|---|---|
author | Andrii Nakryiko <andriin@fb.com> | Tue Apr 28 18:21:10 2020 -0700 |
committer | Alexei Starovoitov <ast@kernel.org> | Tue Apr 28 19:48:05 2020 -0700 |
tree | abfc2b532c66164727d648e7f1092c90b56f6237 | |
parent | 36d0b6159f6a6f51f600bf1777702f7036fb9839 [diff] |
selftests/bpf: Fix bpf_link leak in ns_current_pid_tgid selftest If condition is inverted, but it's also just not necessary. Fixes: 1c1052e0140a ("tools/testing/selftests/bpf: Add self-tests for new helper bpf_get_ns_current_pid_tgid.") Signed-off-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Cc: Carlos Neira <cneirabustos@gmail.com> Link: https://lore.kernel.org/bpf/20200429012111.277390-11-andriin@fb.com