-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tg import create t/selftests-mptcp-improve-fair-usage-on-close-stability
- Loading branch information
Showing
1 changed file
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,13 @@ | ||
From: Matthieu Baerts <matthieu.baerts@tessares.net> | ||
Subject: [PATCH] t/selftests-mptcp-improve-fair-usage-on-close-stability | ||
From: Paolo Abeni <pabeni@redhat.com> | ||
Subject: [PATCH] selftests: mptcp: improve 'fair usage on close' stability | ||
|
||
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net> | ||
The mentioned tests has to wait for a subflow creation failure. | ||
The current code looks for TCP sockets in TW state and sometimes | ||
misses the relevant event. Switch to a more stable check, looking | ||
for the associated mib counter. | ||
|
||
Fixes: 46e967d187ed ("selftests: mptcp: add tests for subflow creation failure") | ||
Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/257 | ||
Reported-and-tested-by: Matthieu Baerts <matthieu.baerts@tessares.net> | ||
Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com> | ||
Signed-off-by: Paolo Abeni <pabeni@redhat.com> |