]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Jun 2021 12:42:44 +0000 (14:42 +0200)
commit0adf32c033a5ff3273295655a3e7cb3f698cbb9b
tree5e2ae298218cbcd50cd77ade7a804b5ea29d2371
parenteab06f7504daeb829681c1e535b47802b0e150be
selftests: mptcp: enable syncookie only in absence of reorders

[ Upstream commit 2395da0e17935ce9158cdfae433962bdb6cbfa67 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/selftests/net/mptcp/mptcp_connect.sh