diff options
author | 2023-08-16 09:11:58 +0800 | |
---|---|---|
committer | 2023-08-16 10:22:16 -0700 | |
commit | 207746550262e81b1e360d003a67f7ef7bacfbae (patch) | |
tree | b2006f93323a1ae47d0ff46b0b4e7081ede94ddc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | selftests/bpf: Add two mptcp netns helpers (diff) | |
download | wireguard-linux-207746550262e81b1e360d003a67f7ef7bacfbae.tar.xz wireguard-linux-207746550262e81b1e360d003a67f7ef7bacfbae.zip |
selftests/bpf: Fix error checks of mptcp open_and_load
Return libbpf_get_error(), instead of -EIO, for the error from
mptcp_sock__open_and_load().
Load success means prog_fd and map_fd are always valid. So drop these
unneeded ASSERT_GE checks for them in mptcp run_test().
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Signed-off-by: Geliang Tang <geliang.tang@suse.com>
Link: https://lore.kernel.org/r/db5fcb93293df9ab173edcbaf8252465b80da6f2.1692147782.git.geliang.tang@suse.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions