diff options
author | Geliang Tang <tanggeliang@kylinos.cn> | 2024-04-10 11:48:25 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-04-11 08:19:54 -0700 |
commit | 22724c89892f5d08a350941734125194b8f97c21 (patch) | |
tree | 0f60a4cf7bb5c6457bcd28d81b9c101f25b53050 /net/unix/af_unix.c | |
parent | 18d82cde743237def9f80171e32be1153f5cadac (diff) | |
download | linux-stable-22724c89892f5d08a350941734125194b8f97c21.tar.gz linux-stable-22724c89892f5d08a350941734125194b8f97c21.tar.bz2 linux-stable-22724c89892f5d08a350941734125194b8f97c21.zip |
selftests: mptcp: test last time mptcp_info
This patch adds a new helper chk_msk_info() to show the counters in
mptcp_info of the given info, and check that the timestamps move
forward. Use it to show newly added last_data_sent, last_data_recv
and last_ack_recv in mptcp_info in chk_last_time_info().
Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Reviewed-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://lore.kernel.org/r/20240410-upstream-net-next-20240405-mptcp-last-time-info-v2-2-f95bd6b33e51@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions