Repository navigation
Commit 0cd33c5
selftests: mptcp: fix diag instability
Instead of waiting for an arbitrary amount of time for the MPTCP
MP_CAPABLE handshake to complete, explicitly wait for the relevant
socket to enter into the established status.
Additionally let the data transfer application use the slowest
transfer mode available (-r), to cope with very slow host, or
high jitter caused by hosting VMs.
Fixes: df62f2e ("selftests/mptcp: add diag interface tests")
Closes: multipath-tcp/mptcp_net-next#258
Reported-and-tested-by: Matthieu Baerts <matthieu.baerts@tessares.net>
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>1 parent 3a14d08 commit 0cd33c5
1 file changed
Lines changed: 37 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
74 | 104 | | |
75 | 105 | | |
76 | 106 | | |
| |||
81 | 111 | | |
82 | 112 | | |
83 | 113 | | |
84 | | - | |
| 114 | + | |
85 | 115 | | |
86 | 116 | | |
87 | 117 | | |
88 | 118 | | |
89 | 119 | | |
90 | | - | |
| 120 | + | |
91 | 121 | | |
92 | | - | |
| 122 | + | |
93 | 123 | | |
94 | 124 | | |
95 | 125 | | |
| |||
101 | 131 | | |
102 | 132 | | |
103 | 133 | | |
104 | | - | |
| 134 | + | |
105 | 135 | | |
106 | 136 | | |
107 | 137 | | |
108 | | - | |
| 138 | + | |
109 | 139 | | |
110 | | - | |
| 140 | + | |
111 | 141 | | |
112 | 142 | | |
113 | 143 | | |
| |||
119 | 149 | | |
120 | 150 | | |
121 | 151 | | |
122 | | - | |
| 152 | + | |
123 | 153 | | |
124 | 154 | | |
125 | 155 | | |
| |||
0 commit comments