mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 14:04:54 +02:00
mptcp: skip to next candidate if subflow has unacked data
[ Upstream commit860975c6f8] In case a subflow path is blocked, MPTCP-level retransmit may not take place anymore because such subflow is likely to have unacked data left in its write queue. Ignore subflows that have experienced loss and test next candidate. Fixes:3b1d6210a9("mptcp: implement and use MPTCP-level retransmission") Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
36e4b93838
commit
40bf5450ba
|
|
@ -1648,8 +1648,11 @@ static struct sock *mptcp_subflow_get_retrans(const struct mptcp_sock *msk)
|
|||
continue;
|
||||
|
||||
/* still data outstanding at TCP level? Don't retransmit. */
|
||||
if (!tcp_write_queue_empty(ssk))
|
||||
if (!tcp_write_queue_empty(ssk)) {
|
||||
if (inet_csk(ssk)->icsk_ca_state >= TCP_CA_Loss)
|
||||
continue;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (subflow->backup) {
|
||||
if (!backup)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user