Skip to content
This repository was archived by the owner on Oct 2, 2025. It is now read-only.

Commit fbf9ba2

Browse files
committed
allow search above 90 percent fixed
1 parent 4703ebc commit fbf9ba2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/mptcp/mptcp_ratio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,7 @@ static struct sk_buff *mptcp_ratio_next_segment(struct sock *meta_sk,
836836
}
837837
goto reset;
838838
} else {
839-
if (meta_tp->num_segments_flow_one + meta_tp->ratio_search_step < 100 && meta_tp->num_segments_flow_one + meta_tp->ratio_search_step > 0)
839+
if (meta_tp->num_segments_flow_one + meta_tp->ratio_search_step <= 100 && meta_tp->num_segments_flow_one + meta_tp->ratio_search_step > 0)
840840
meta_tp->num_segments_flow_one += meta_tp->ratio_search_step;
841841
else {
842842
last_rate = 0;

0 commit comments

Comments
 (0)