diff mbox series

[mptcp-next,2/2] Squash to "selftests/bpf: Add mptcp_subflow bpf_iter test prog"

Message ID 01292808c07fdaa9925d3be09a4ed1d8b82887f4.1729159086.git.tanggeliang@kylinos.cn (mailing list archive)
State Superseded, archived
Headers show
Series fixes for "add mptcp_subflow bpf_iter" v10 | expand

Checks

Context Check Description
matttbe/checkpatch warning total: 0 errors, 0 warnings, 1 checks, 7 lines checked
matttbe/shellcheck success MPTCP selftests files have not been modified
matttbe/build success Build and static analysis OK
matttbe/KVM_Validation__normal success Success! ✅
matttbe/KVM_Validation__debug success Success! ✅
matttbe/KVM_Validation__btf-normal__only_bpftest_all_ fail Script error! ❓

Commit Message

Geliang Tang Oct. 17, 2024, 10:21 a.m. UTC
From: Geliang Tang <tanggeliang@kylinos.cn>

Export bpf_mptcp_sk(), it is used in this test program.

Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
---
 tools/testing/selftests/bpf/progs/mptcp_bpf.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/tools/testing/selftests/bpf/progs/mptcp_bpf.h b/tools/testing/selftests/bpf/progs/mptcp_bpf.h
index b1f6e1fb467e..3b20cfd44505 100644
--- a/tools/testing/selftests/bpf/progs/mptcp_bpf.h
+++ b/tools/testing/selftests/bpf/progs/mptcp_bpf.h
@@ -46,6 +46,7 @@  mptcp_subflow_tcp_sock(const struct mptcp_subflow_context *subflow)
 extern struct mptcp_sock *bpf_mptcp_sock_acquire(struct mptcp_sock *msk) __ksym;
 extern void bpf_mptcp_sock_release(struct mptcp_sock *msk) __ksym;
 
+extern struct mptcp_sock *bpf_mptcp_sk(struct sock *sk) __ksym;
 extern struct mptcp_subflow_context *
 bpf_mptcp_subflow_ctx(const struct sock *sk) __ksym;
 extern struct sock *