Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144364462
D44610.id136469.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
979 B
Referenced Files
None
Subscribers
None
D44610.id136469.diff
View Options
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
@@ -21283,7 +21283,8 @@
unsigned ipsec_optlen = 0;
#endif
- int32_t idle, sendalot, tot_idle;
+ int32_t idle, sendalot;
+ uint32_t tot_idle;
int32_t sub_from_prr = 0;
volatile int32_t sack_rxmit;
struct rack_sendmap *rsm = NULL;
@@ -21525,8 +21526,8 @@
if ((tp->snd_una == tp->snd_max) &&
rack->r_ctl.rc_went_idle_time &&
(cts > rack->r_ctl.rc_went_idle_time)) {
- tot_idle = idle = (cts - rack->r_ctl.rc_went_idle_time);
- if (idle > (uint64_t)rack_min_probertt_hold) {
+ tot_idle = (cts - rack->r_ctl.rc_went_idle_time);
+ if (tot_idle > rack_min_probertt_hold) {
/* Count as a probe rtt */
if (rack->in_probe_rtt == 0) {
rack->r_ctl.rc_lower_rtt_us_cts = cts;
@@ -21537,7 +21538,6 @@
rack_exit_probertt(rack, cts);
}
}
- idle = 0;
}
if(rack->policer_detect_on) {
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 9, 1:42 AM (15 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28522038
Default Alt Text
D44610.id136469.diff (979 B)
Attached To
Mode
D44610: tcp rack: fix sending
Attached
Detach File
Event Timeline
Log In to Comment