Page MenuHomeFreeBSD

D30230.diff
No OneTemporary

D30230.diff

diff --git a/sys/netinet/tcp_stacks/rack.c b/sys/netinet/tcp_stacks/rack.c
--- a/sys/netinet/tcp_stacks/rack.c
+++ b/sys/netinet/tcp_stacks/rack.c
@@ -6606,8 +6606,13 @@
tp->t_rttvar += frac;
}
}
- RACK_TCPT_RANGESET(tp->t_rxtcur, RACK_REXMTVAL(tp),
- rack_rto_min, rack_rto_max);
+ tp->t_rxtcur = RACK_REXMTVAL(tp);
+ if (TCPS_HAVEESTABLISHED(tp->t_state)) {
+ tp->t_rxtcur += TICKS_2_USEC(tcp_rexmit_slop);
+ }
+ if (tp->t_rxtcur > rack_rto_max) {
+ tp->t_rxtcur = rack_rto_max;
+ }
}
static void

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 16, 7:36 PM (22 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15828509
Default Alt Text
D30230.diff (520 B)

Event Timeline