OSDN Git Service

selftests: mptcp: make 2nd net namespace use tcp syn cookies unconditionally
authorFlorian Westphal <fw@strlen.de>
Thu, 30 Jul 2020 19:25:57 +0000 (21:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 31 Jul 2020 23:55:32 +0000 (16:55 -0700)
commitfed61c4b584c5839543fe46a2ee55e21dd1bbf80
treee4f9581522af680b1d6ab1c7af3ed7bf3a52c8f5
parent9466a1ccebbe54ac57fb8a89c2b4b854826546a8
selftests: mptcp: make 2nd net namespace use tcp syn cookies unconditionally

check we can establish connections also when syn cookies are in use.

Check that
MPTcpExtMPCapableSYNRX and MPTcpExtMPCapableACKRX increase for each
MPTCP test.

Check TcpExtSyncookiesSent and TcpExtSyncookiesRecv increase in netns2.

Signed-off-by: Florian Westphal <fw@strlen.de>
Reviewed-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