FreeBSD Bugzilla – Attachment 7009 Details for
Bug 15494
over-natd connections hang if MTUs are different
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
natd.c.patch
natd.c.patch (text/plain; charset=us-ascii), 731 bytes, created by
ru
on 1999-12-30 13:11:36 UTC
(
hide
)
Description:
natd.c.patch
Filename:
MIME Type:
Creator:
ru
Created:
1999-12-30 13:11:36 UTC
Size:
731 bytes
patch
obsolete
>Index: natd.c >=================================================================== >RCS file: /usr/FreeBSD-CVS/src/sbin/natd/natd.c,v >retrieving revision 1.23 >diff -u -r1.23 natd.c >--- natd.c 1999/10/13 09:00:16 1.23 >+++ natd.c 1999/12/30 13:00:45 >@@ -601,13 +601,15 @@ > if (errno == ENOBUFS) > return; > >- if (errno == EMSGSIZE) { >- >- if (packetDirection == OUTPUT && >- ifMTU != -1) >- SendNeedFragIcmp (icmpSock, >+ if (errno == EMSGSIZE && packetDirection == OUTPUT) { >+ if (ifMTU != -1) >+ SendNeedFragIcmp(icmpSock, > (struct ip*) packetBuf, > ifMTU - aliasOverhead); >+ else >+ SendNeedFragIcmp(icmpSock, >+ (struct ip*) packetBuf, >+ packetLen - aliasOverhead); > } > else { >
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 15494
: 7009 |
7010