]> Gentwo Git Trees - linux/.git/commit
selftests: mptcp: join: validate new laminar endp
authorMatthieu Baerts (NGI0) <matttbe@kernel.org>
Sat, 27 Sep 2025 09:40:44 +0000 (11:40 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 30 Sep 2025 01:23:36 +0000 (18:23 -0700)
commitc912f935a5c7e43f2b6be94d76e4ddbb6ff14c6d
tree2fe6af3b1cadc7420824a6e136e2bc54132ef190
parent59701b1870032c1bf32244d87476bcd4b5ecb41b
selftests: mptcp: join: validate new laminar endp

Here are a few sub-tests for mptcp_join.sh, validating the new 'laminar'
endpoint type.

In a setup where subflows created using the routing rules would be
rejected by the listener, and where the latter announces one IP address,
some cases are verified:

- Without any 'laminar' endpoints: no new subflows are created.

- With one 'laminar' endpoint: a second subflow is created.

- With multiple 'laminar' endpoints: 2 IPv4 subflows are created.

- With one 'laminar' endpoint, but the server announcing a second IP
  address, only one subflow is created.

- With one 'laminar' + 'subflow' endpoint, the same endpoint is only
  used once.

Reviewed-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20250927-net-next-mptcp-rcv-path-imp-v1-8-5da266aa9c1a@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/mptcp/mptcp_join.sh
tools/testing/selftests/net/mptcp/pm_nl_ctl.c