Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bpf: Export more helpers for mptcp_userspace_pm_addr test
The mptcp_userspace_pm_addr bpf_iter should be invoked under holding the msk pm lock, so spin_lock_bh() and spin_unlock_bh() are needed in BPF program to hold or release the msk pm lock. And bpf_ipv6_addr_v4mapped() helper is also needed by the mptcp_userspace_pm_addr bpf_iter selftest program. This patch adds the corresponding BPF wrappers for these helpers and adds them to the mptcp common kfunc_set. Signed-off-by: Geliang Tang <[email protected]> Message-Id: <ea7e5fe9651149f3f0eb09fbd70f7942d3049b8b.1730953242.git.tanggeliang@kylinos.cn>
- Loading branch information