Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F170767415
D28329.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
D28329.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
@@ -3949,14 +3949,17 @@
* Proportional Rate Reduction
*/
if (pipe > tp->snd_ssthresh)
- snd_cnt = (tp->sackhint.prr_delivered * tp->snd_ssthresh / tp->sackhint.recover_fs) -
- tp->sackhint.sack_bytes_rexmit;
+ snd_cnt = (tp->sackhint.prr_delivered * tp->snd_ssthresh /
+ tp->sackhint.recover_fs) - tp->sackhint.sack_bytes_rexmit;
else {
if (V_tcp_do_prr_conservative)
- limit = tp->sackhint.prr_delivered - tp->sackhint.sack_bytes_rexmit;
+ limit = tp->sackhint.prr_delivered -
+ tp->sackhint.sack_bytes_rexmit;
else
- if ((tp->sackhint.prr_delivered - tp->sackhint.sack_bytes_rexmit) > del_data)
- limit = tp->sackhint.prr_delivered - tp->sackhint.sack_bytes_rexmit + maxseg;
+ if ((tp->sackhint.prr_delivered -
+ tp->sackhint.sack_bytes_rexmit) > del_data)
+ limit = tp->sackhint.prr_delivered -
+ tp->sackhint.sack_bytes_rexmit + maxseg;
else
limit = del_data + maxseg;
snd_cnt = min((tp->snd_ssthresh - pipe), limit);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Sep 7, 12:42 PM (5 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38467396
Default Alt Text
D28329.diff (1 KB)
Attached To
Mode
D28329: Adjust line length in tcp_prr_partialack
Attached
Detach File
Event Timeline
Log In to Comment