mptcp: selftests: add rcvbuf set option
authorFlorian Westphal <fw@strlen.de>
Fri, 6 Mar 2020 20:29:45 +0000 (21:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Mar 2020 02:30:08 +0000 (19:30 -0700)
commit8a4b910d005db03ce644e4657ae1fc512a67e596
treeaa19386c6417b32c705730a72bc671b1fb8c4c9a
parent37feab6076aa816ed72fe836759a485353241916
mptcp: selftests: add rcvbuf set option

allows to run the tests with fixed receive buffer by passing
"-R <value>" to mptcp_connect.sh.

While at it, add a default 10 second poll timeout so the "-t"
becomes optional -- this makes mptcp_connect simpler to use
during manual testing.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/mptcp/mptcp_connect.c
tools/testing/selftests/net/mptcp/mptcp_connect.sh