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

Commit b486431

Browse files
committed
cut 400ms
1 parent d8da8ef commit b486431

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

net/mptcp/mptcp_ratio.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -567,8 +567,8 @@ static struct sk_buff *mptcp_ratio_next_segment(struct sock *meta_sk,
567567

568568

569569
time_diff = jiffies_to_msecs(jiffies - meta_tp->rate_interval_us);
570-
/*Cut the first 200ms when we are searching*/
571-
if(time_diff >= 200){
570+
/*Cut the first 400ms when we are searching*/
571+
if(time_diff >= 400){
572572
/*Calculate # of ACKs for each interface*/
573573
mptcp_for_each_sub(mpcb, mptcp) {
574574
struct sock *sk_it = mptcp_to_sock(mptcp);
@@ -614,8 +614,8 @@ static struct sk_buff *mptcp_ratio_next_segment(struct sock *meta_sk,
614614
tp_it_temp->prev_tstamp = curr_tstamp;
615615
subflow_rate64 = (u64)subflow_rate * tp_it_temp->mss_cache * 8 * MSEC_PER_SEC;
616616
if(in_search==1)
617-
//We cut the first 200 ms
618-
subflow_intv -= 200;
617+
//We cut the first 400 ms
618+
subflow_intv -= 400;
619619
do_div(subflow_rate64, subflow_intv);
620620
do_div(subflow_rate64, 1000000);//subflow_intv is in us
621621
srtt[iter] = tp_it_temp->srtt_us>>3;

0 commit comments

Comments
 (0)