diff options
author | Geliang Tang <geliang.tang@suse.com> | 2022-05-19 16:30:16 -0700 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2022-05-20 15:36:48 -0700 |
commit | 4f90d034bba9bdcb06a3cb53c43012351c1b39ff (patch) | |
tree | 974deb3e8c67f808fc85fbb9644f6c2f4963c948 /tools/testing/selftests/bpf/bpf_util.h | |
parent | ccc090f469000fd757049028eeb0dff43013f7c1 (diff) |
selftests/bpf: Verify first of struct mptcp_sock
This patch verifies the 'first' struct member of struct mptcp_sock, which
points to the first subflow of msk. Save 'sk' in mptcp_storage, and verify
it with 'first' in verify_msk().
v5:
- Use ASSERT_EQ() instead of a manual comparison + log (Andrii).
Signed-off-by: Geliang Tang <geliang.tang@suse.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Link: https://lore.kernel.org/bpf/20220519233016.105670-8-mathew.j.martineau@linux.intel.com
Diffstat (limited to 'tools/testing/selftests/bpf/bpf_util.h')
0 files changed, 0 insertions, 0 deletions