selftests: mptcp: enable syncookie only in absence of reorders
authorPaolo Abeni <pabeni@redhat.com>
Thu, 10 Jun 2021 22:59:43 +0000 (15:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Jun 2021 23:47:45 +0000 (16:47 -0700)
commit2395da0e17935ce9158cdfae433962bdb6cbfa67
tree6032326bfa53c652e6a2d4fabbefe20573b3e177
parent61e710227e97172355d5f150d5c78c64175d9fb2
selftests: mptcp: enable syncookie only in absence of reorders

Syncookie validation may fail for OoO packets, causing spurious
resets and self-tests failures, so let's force syncookie only
for tests iteration with no OoO.

Fixes: fed61c4b584c ("selftests: mptcp: make 2nd net namespace use tcp syn cookies unconditionally")
Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/198
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>
tools/testing/selftests/net/mptcp/mptcp_connect.sh