Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mptcp: sched: check both backup in retrans
The 'mptcp_subflow_context' structure has two items related to the backup flags: - 'backup': the subflow has been marked as backup by the other peer - 'request_bkup': the backup flag has been set by the host Looking only at the 'backup' flag can make sense in some cases, but it is not the behaviour of the default packet scheduler when selecting paths. As explained in the commit b6a66e5 ("mptcp: sched: check both directions for backup"), the packet scheduler should look at both flags, because that was the behaviour from the beginning: the 'backup' flag was set by accident instead of the 'request_bkup' one. Now that the latter has been fixed, get_retrans() needs to be adapted as well. Fixes: 3b1d621 ("mptcp: implement and use MPTCP-level retransmission") Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
- Loading branch information