Re: [PATCH bpf-next v3 6/8] selftests: bpf: verify token of struct mptcp_sock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2 May 2022, Mat Martineau wrote:

From: Geliang Tang <geliang.tang@xxxxxxxx>

This patch verifies the struct member token of struct mptcp_sock. Add a
new function get_msk_token() to parse the msk token from the output of
the command 'ip mptcp monitor', and verify it in verify_msk().


Daniel, Andrii,

The z15 CI build failed on this commit, not due to any endianness issue but because it appears the z15 CI VM has an older iproute2 version (5.5.0) than the x86_64 VM (where the build succeeded).

Do you need us (MPTCP) to change anything?

Thanks!

Acked-by: Matthieu Baerts <matthieu.baerts@xxxxxxxxxxxx>
Signed-off-by: Geliang Tang <geliang.tang@xxxxxxxx>
Signed-off-by: Mat Martineau <mathew.j.martineau@xxxxxxxxxxxxxxx>
---
.../testing/selftests/bpf/bpf_mptcp_helpers.h |  1 +
.../testing/selftests/bpf/prog_tests/mptcp.c  | 66 +++++++++++++++++++
.../testing/selftests/bpf/progs/mptcp_sock.c  |  5 ++
3 files changed, 72 insertions(+)

--
Mat Martineau
Intel



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux