FreeBSD Bugzilla – Attachment 195605 Details for
Bug 225536
ipfw tcp-setmss doesn't seems to work
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix for little endian machines
tcpmod.diff (text/plain), 396 bytes, created by
John Zielinski
on 2018-07-29 18:52:20 UTC
(
hide
)
Description:
Fix for little endian machines
Filename:
MIME Type:
Creator:
John Zielinski
Created:
2018-07-29 18:52:20 UTC
Size:
396 bytes
patch
obsolete
>--- tcpmod.c.bak 2018-01-01 16:03:07.174496000 -0500 >+++ tcpmod.c 2018-07-29 14:36:11.210174000 -0400 >@@ -98,7 +98,7 @@ > ret = 0; /* report success */ > bcopy(cp + 2, &oldmss, sizeof(oldmss)); > /* Do not update lower MSS value */ >- if (oldmss <= mss) >+ if (ntohs(oldmss) <= ntohs(mss)) > break; > bcopy(&mss, cp + 2, sizeof(mss)); > /* Update checksum if it is not delayed. */
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 225536
: 195605