forked from multipath-tcp/mptcp_net-next
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mptcp: react scheduler when subflow events pop up
The current packet scheduler will not react by queuing more packets if some subflows only events are emitted, e.g. new TCP ACKs are received only acking things at TCP-level but not at MPTCP level. The scheduler should be called when such events happen. ack_update_msk() is invoked when an ACK is received, so it's the right place to call the scheduler by invoking __mptcp_check_push(). mptcp_subflow_timeout() is implemented to call the scheduler when a subflow timeout happens. But I'm not sure where is the right place to invoke it. I mean where is the right place when a RTO is fired. So I temporarily do it in mptcp_worker(). Closes: multipath-tcp#343 Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
- Loading branch information
Geliang Tang
committed
Dec 27, 2024
1 parent
f120b95
commit 2f48a15
Showing
3 changed files
with
27 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
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