Skip to content

Commit

Permalink
mptcp: tfo: reproducer for issue 316
Browse files Browse the repository at this point in the history
This test was causing a kernel deadlock, see:

  multipath-tcp/mptcp_net-next#316

Paolo has already sent a patch which is now in our tree.

Signed-off-by: Matthieu Baerts <[email protected]>
  • Loading branch information
matttbe committed Nov 25, 2022
1 parent be272a4 commit 7f947c6
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions gtests/net/mptcp/fastopen/server-tfo-rst-before-accept.pkt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// Reproducer for issue #316
// https://github.com/multipath-tcp/mptcp_net-next/issues/316
--tolerance_usecs=100000
`../common/defaults.sh
sysctl -q net.ipv4.tcp_fastopen=0x602`

0.0 socket(..., SOCK_STREAM, IPPROTO_MPTCP) = 3
+0.0 setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0

+0.0 bind(3, ..., ...) = 0
+0.0 listen(3, 1) = 0

+0.0 < S 0:500(500) win 65535 <mss 1460, sackOK, TS val 100 ecr 0, nop, wscale 8, FO, nop, nop, mpcapable v1 flags[flag_h] nokey>

// The reset sent by packetdrill after this was creating a kernel deadlock

0 comments on commit 7f947c6

Please sign in to comment.