Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115903146
D28998.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D28998.diff
View Options
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -2600,10 +2600,12 @@
} else {
if (V_tcp_do_prr_conservative)
limit = tp->sackhint.prr_delivered -
- tp->sackhint.sack_bytes_rexmit;
+ (tp->sackhint.sack_bytes_rexmit +
+ (tp->snd_nxt - tp->snd_recover));
else
limit = imax(tp->sackhint.prr_delivered -
- tp->sackhint.sack_bytes_rexmit,
+ (tp->sackhint.sack_bytes_rexmit +
+ (tp->snd_nxt - tp->snd_recover)),
del_data) + maxseg;
snd_cnt = imin(tp->snd_ssthresh - pipe, limit);
}
@@ -3976,10 +3978,12 @@
} else {
if (V_tcp_do_prr_conservative)
limit = tp->sackhint.prr_delivered -
- tp->sackhint.sack_bytes_rexmit;
+ (tp->sackhint.sack_bytes_rexmit +
+ (tp->snd_nxt - tp->snd_recover));
else
limit = imax(tp->sackhint.prr_delivered -
- tp->sackhint.sack_bytes_rexmit,
+ (tp->sackhint.sack_bytes_rexmit +
+ (tp->snd_nxt - tp->snd_recover)),
del_data) + maxseg;
snd_cnt = imin((tp->snd_ssthresh - pipe), limit);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, May 1, 5:32 AM (14 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17873920
Default Alt Text
D28998.diff (1 KB)
Attached To
Mode
D28998: Calculate prr_out correctly everywhere
Attached
Detach File
Event Timeline
Log In to Comment