FreeBSD Bugzilla – Attachment 90713 Details for
Bug 127928
[tcp] [patch] TCP bandwidth gets squeezed every time tcp_xmit_bandwidth_limit() kicks in
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 446 bytes, created by
Renaud Lienhart
on 2008-10-07 19:20:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Renaud Lienhart
Created:
2008-10-07 19:20:01 UTC
Size:
446 bytes
patch
obsolete
>Index: netinet/tcp_subr.c >=================================================================== >--- netinet/tcp_subr.c (revision 183668) >+++ netinet/tcp_subr.c (working copy) >@@ -1783,7 +1783,9 @@ > tp->t_bw_rtseq = ack_seq; > if (tp->t_bw_rtttime == 0 || (int)bw < 0) > return; >- bw = ((int64_t)tp->snd_bandwidth * 15 + bw) >> 4; >+ if (tp->snd_bandwidth != 0) { >+ bw = ((int64_t)tp->snd_bandwidth * 15 + bw) >> 4; >+ } > > tp->snd_bandwidth = bw;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 127928
: 90713