Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
mptcp: penalize all slow subflows also with BLEST scheduler
Browse files Browse the repository at this point in the history
This changes are based on commit b98b373 that changes the behavior of
the default scheduler to penalize all slow subflows.

Signed-off-by: Daniel Weber <[email protected]>
Signed-off-by: Christoph Paasch <[email protected]>
(cherry picked from commit cea025c)
Signed-off-by: Christoph Paasch <[email protected]>
  • Loading branch information
dweb32 authored and cpaasch committed Aug 22, 2019
1 parent ed81202 commit 4e10ec5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions net/mptcp/mptcp_blest.c
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ static struct sk_buff *mptcp_blest_rcv_buf_optimization(struct sock *sk, int pen
if (tcp_jiffies32 - blest_p->last_rbuf_opti < usecs_to_jiffies(tp->srtt_us >> 3))
goto retrans;

/* Half the cwnd of the slow flow */
/* Half the cwnd of the slow flows */
mptcp_for_each_sub(tp->mpcb, mptcp) {
struct tcp_sock *tp_it = mptcp->tp;

Expand All @@ -285,7 +285,6 @@ static struct sk_buff *mptcp_blest_rcv_buf_optimization(struct sock *sk, int pen

blest_p->last_rbuf_opti = tcp_jiffies32;
}
break;
}
}

Expand Down

0 comments on commit 4e10ec5

Please sign in to comment.