forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mptcp: call mp_fail_no_response only when needed
mptcp_mp_fail_no_response shouldn't be invoked on each worker run, it should be invoked only when MP_FAIL response timeout occurs. This patch adds a new msk flag MPTCP_FAIL_RESPONSE_EXPECT, set it when sending MP_FAIL and test it in mptcp_timeout_timer(). Add back MPTCP_FAIL_NO_RESPONSE flag, set it in mptcp_timeout_timer() when MP_FAIL response timeout occurs. Test it in mptcp_worker() before invoking mptcp_mp_fail_no_response(). Closes: multipath-tcp/mptcp_net-next#281 Fixes: d9fb797 ("mptcp: Do not traverse the subflow connection list without lock") Signed-off-by: Geliang Tang <geliang.tang@suse.com>
- Loading branch information
1 parent
2109f19
commit 5137781
Showing
3 changed files
with
10 additions
and
1 deletion.
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