Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102535052
D28941.id84766.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
935 B
Referenced Files
None
Subscribers
None
D28941.id84766.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
@@ -2595,7 +2595,8 @@
imax(1, tp->snd_nxt - tp->snd_una);
snd_cnt = howmany((long)tp->sackhint.prr_delivered *
tp->snd_ssthresh, tp->sackhint.recover_fs) -
- tp->sackhint.sack_bytes_rexmit;
+ (tp->sackhint.sack_bytes_rexmit +
+ (tp->snd_nxt - tp->snd_recover));
} else {
if (V_tcp_do_prr_conservative)
limit = tp->sackhint.prr_delivered -
@@ -3969,7 +3970,8 @@
imax(1, tp->snd_nxt - tp->snd_una);
snd_cnt = howmany((long)tp->sackhint.prr_delivered *
tp->snd_ssthresh, tp->sackhint.recover_fs) -
- tp->sackhint.sack_bytes_rexmit;
+ (tp->sackhint.sack_bytes_rexmit +
+ (tp->snd_nxt - tp->snd_recover));
} else {
if (V_tcp_do_prr_conservative)
limit = tp->sackhint.prr_delivered -
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 14, 5:37 PM (4 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14631614
Default Alt Text
D28941.id84766.diff (935 B)
Attached To
Mode
D28941: Include new data sent in PRR calculation
Attached
Detach File
Event Timeline
Log In to Comment