This repository has been archived by the owner on Apr 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 338
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mptcp:fm: recreate subflows after an error
If a subflow is closed because of an error, it will be recreated if create_on_err parameter is set. For that, we need to store the previously recorded error (sk->sk_err) and look at it when closing the subflow. Note that here, we limit the retry on ETIMEDOUT error, like it was done before. Otherwise, we might end up looping on subflow-creations, if we are sending a SYN+MP_JOIN that results in a TCP-RST (ECONNREFUSED). Fixes: 133537d (mptcp: Recreate subflows after a timeout) Signed-off-by: Matthieu Baerts <[email protected]> Signed-off-by: Christoph Paasch <[email protected]>
- Loading branch information
Showing
3 changed files
with
12 additions
and
0 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
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
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