Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152780187
D28816.id.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
D28816.id.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
@@ -2579,8 +2579,11 @@
* estimate to be in the network.
*/
del_data = tp->sackhint.delivered_data;
- pipe = (tp->snd_nxt - tp->snd_fack) +
- tp->sackhint.sack_bytes_rexmit;
+ if (V_tcp_do_rfc6675_pipe)
+ pipe = tcp_compute_pipe(tp);
+ else
+ pipe = (tp->snd_nxt - tp->snd_fack) +
+ tp->sackhint.sack_bytes_rexmit;
tp->sackhint.prr_delivered += del_data;
if (pipe > tp->snd_ssthresh) {
if (tp->sackhint.recover_fs == 0)
@@ -3960,7 +3963,10 @@
if (SEQ_GEQ(th->th_ack, tp->snd_una))
del_data = BYTES_THIS_ACK(tp, th);
del_data += tp->sackhint.delivered_data;
- pipe = (tp->snd_nxt - tp->snd_fack) + tp->sackhint.sack_bytes_rexmit;
+ if (V_tcp_do_rfc6675_pipe)
+ pipe = tcp_compute_pipe(tp);
+ else
+ pipe = (tp->snd_nxt - tp->snd_fack) + tp->sackhint.sack_bytes_rexmit;
tp->sackhint.prr_delivered += del_data;
/*
* Proportional Rate Reduction
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 18, 1:40 AM (13 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31690874
Default Alt Text
D28816.id.diff (1 KB)
Attached To
Mode
D28816: Use new SACK Recovery (RFC6675) pipe calculation with PRR
Attached
Detach File
Event Timeline
Log In to Comment