FreeBSD Bugzilla – Attachment 194242 Details for
Bug 229006
ipfw+nat and ng_nat Silently Drop Packets over 4k
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Possible patch from suggestion of Andrey V. Elsukov
229006.patch (text/plain), 566 bytes, created by
Jeff Kletsky
on 2018-06-14 00:07:03 UTC
(
hide
)
Description:
Possible patch from suggestion of Andrey V. Elsukov
Filename:
MIME Type:
Creator:
Jeff Kletsky
Created:
2018-06-14 00:07:03 UTC
Size:
566 bytes
patch
obsolete
>--- alias.c.orig 2017-07-20 16:42:02.000000000 -0700 >+++ alias.c 2018-06-13 15:41:46.862121000 -0700 >@@ -1758,7 +1758,14 @@ > if (m->m_next == NULL && M_WRITABLE(m)) > return (m); > >- mcl = m_get2(len, M_NOWAIT, MT_DATA, M_PKTHDR); >+ if (len <= MJUMPAGESIZE) >+ mcl = m_get2(len, M_NOWAIT, MT_DATA, M_PKTHDR); >+ else if (len <= MJUM9BYTES) >+ mcl = m_getjcl(M_NOWAIT, MT_DATA, M_PKTHDR, MJUM9BYTES); >+ else if (len <= MJUM16BYTES) >+ mcl = m_getjcl(M_NOWAIT, MT_DATA, M_PKTHDR, MJUM16BYTES); >+ else >+ goto bad; > if (mcl == NULL) > goto bad; > m_align(mcl, len);
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 229006
: 194242