-
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Squash-to: "mptcp: more careful RM_ADDR generation"
When the self-tests flushed the subflows on both sides of the MPTCP connections, the number of subflows actually deleted on each side is unreliable. The test code always flushes first the client side, but the actual delete operations is performed asynchronously, and one on more subflows could be processed after that the other end already deleted it. The grand total of the deleted subflows is expected to be in the [nr_subflows: 2* nr_subflows] range. Address the issue checking the total number of deleted subflows in the simult flush cases and enforcing the above constraint Signed-off-by: Paolo Abeni <pabeni@redhat.com> Tested-by: Matthieu Baerts <matthieu.baerts@tessares.net> Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
- Loading branch information
Showing
1 changed file
with
33 additions
and
6 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