1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/tools/testing/selftests/net/mptcp
Paolo Abeni e35f885b35 selftests: mptcp: be more conservative with cookie MPJ limits
Since commit 2843ff6f36 ("mptcp: remote addresses fullmesh"), an
MPTCP client can attempt creating multiple MPJ subflow simultaneusly.

In such scenario the server, when syncookies are enabled, could end-up
accepting incoming MPJ syn even above the configured subflow limit, as
the such limit can be enforced in a reliable way only after the subflow
creation. In case of syncookie, only after the 3rd ack reception.

As a consequence the related self-tests case sporadically fails, as it
verify that the server always accept the expected number of MPJ syn.

Address the issues relaxing the MPJ syn number constrain. Note that the
check on the accepted number of MPJ 3rd ack still remains intact.

Fixes: 2843ff6f36 ("mptcp: remote addresses fullmesh")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-02-19 12:28:01 +00:00
..
.gitignore selftests: mptcp: add inq test case 2021-12-07 11:36:30 -08:00
config selftests: mptcp: add tests for subflow creation failure 2022-01-07 11:27:07 +00:00
diag.sh selftests: mptcp: fix diag instability 2022-02-19 12:28:00 +00:00
Makefile selftests: mptcp: add inq test case 2021-12-07 11:36:30 -08:00
mptcp_connect.c selftests: mptcp: add disconnect tests 2022-01-07 11:27:07 +00:00
mptcp_connect.sh selftests: mptcp: add disconnect tests 2022-01-07 11:27:07 +00:00
mptcp_inq.c selftests: mptcp: remove duplicate include in mptcp_inq.c 2021-12-10 11:00:32 -08:00
mptcp_join.sh selftests: mptcp: be more conservative with cookie MPJ limits 2022-02-19 12:28:01 +00:00
mptcp_sockopt.c selftests: mptcp: check IP_TOS in/out are the same 2021-12-07 11:36:30 -08:00
mptcp_sockopt.sh selftests: mptcp: add inq test case 2021-12-07 11:36:30 -08:00
pm_netlink.sh mptcp: increase default max additional subflows to 2 2021-10-16 08:46:08 +01:00
pm_nl_ctl.c selftests: mptcp: set and print the fullmesh flag 2021-08-18 10:10:01 +01:00
settings selftests: increase timeout to 10 min 2021-01-27 16:53:55 -08:00
simult_flows.sh selftests: mptcp: more stable simult_flows tests 2021-11-01 13:19:49 +00:00