FreeBSD Bugzilla – Attachment 7951 Details for
Bug 16914
tcp advertises wrong window if tcpsendspace and tcprecvspace are set to 64K
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 413 bytes, created by
jayanth
on 2000-02-22 22:50:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
jayanth
Created:
2000-02-22 22:50:00 UTC
Size:
413 bytes
patch
obsolete
>--- tcp_subr.c Tue Feb 22 14:33:26 2000 >+++ tcp_subr.c.new Tue Feb 22 14:09:10 2000 >@@ -314,8 +314,11 @@ > ipov = ipgen; > > if (tp) { >- if (!(flags & TH_RST)) >+ if (!(flags & TH_RST)){ > win = sbspace(&tp->t_inpcb->inp_socket->so_rcv); >+ if (win > (long)TCP_MAXWIN << tp->rcv_scale) >+ win = (long)TCP_MAXWIN << tp->rcv_scale; >+ } > #ifdef INET6 > if (isipv6) > ro6 = &tp->t_inpcb->in6p_route;
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 16914
: 7951