diff options
| author | Geliang Tang <[email protected]> | 2022-05-19 23:30:16 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2022-05-20 22:36:48 +0000 |
| commit | 4f90d034bba9bdcb06a3cb53c43012351c1b39ff (patch) | |
| tree | 974deb3e8c67f808fc85fbb9644f6c2f4963c948 /net/unix/af_unix.c | |
| parent | selftests/bpf: Verify ca_name of struct mptcp_sock (diff) | |
| download | kernel-4f90d034bba9bdcb06a3cb53c43012351c1b39ff.tar.gz kernel-4f90d034bba9bdcb06a3cb53c43012351c1b39ff.zip | |
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 <[email protected]>
Signed-off-by: Mat Martineau <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Matthieu Baerts <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
