]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: mptcp: fail if not enough SYN/3rd ACK
authorMatthieu Baerts <matthieu.baerts@tessares.net>
Fri, 12 Feb 2021 23:20:30 +0000 (15:20 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Feb 2021 00:20:34 +0000 (16:20 -0800)
commit32d3eb5c96c7279abfd6ce60e4a520669203febc
tree11c8f4b52a5f7bab0cc6f108830185c38a6ae6f1
parent7b499356fb7985689ef94eb8f63de44f1fa8cc0f
selftests: mptcp: fail if not enough SYN/3rd ACK

If we receive less MPCapable SYN or 3rd ACK than expected, we now mark
the test as failed.

On the other hand, if we receive more, we keep the warning but we add a
hint that it is probably due to retransmissions and that's why we don't
mark the test as failed.

Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/148
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/mptcp/mptcp_connect.sh