FreeBSD Bugzilla – Attachment 141320 Details for
Bug 188092
[patch] icmp_error() fails to clear "fragmented" flag in the IP header
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 601 bytes, created by
Eugene Grosbein
on 2014-03-30 19:30:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Eugene Grosbein
Created:
2014-03-30 19:30:00 UTC
Size:
601 bytes
patch
obsolete
>--- sys/netinet/ip_icmp.c.orig 2013-10-21 21:07:06.000000000 +0700 >+++ sys/netinet/ip_icmp.c 2014-03-31 00:06:48.000000000 +0700 >@@ -332,6 +332,7 @@ stdreply: icmpelen = max(8, min(V_icmp_q > * reply should bypass as well. > */ > m->m_flags |= n->m_flags & M_SKIP_FIREWALL; >+ m->m_flags &= ~(M_FRAG | M_FIRSTFRAG | M_LASTFRAG); > m->m_data -= sizeof(struct ip); > m->m_len += sizeof(struct ip); > m->m_pkthdr.len = m->m_len; >@@ -343,6 +344,7 @@ stdreply: icmpelen = max(8, min(V_icmp_q > nip->ip_hl = 5; > nip->ip_p = IPPROTO_ICMP; > nip->ip_tos = 0; >+ nip->ip_off = 0; > icmp_reflect(m); > > freeit:
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 188092
: 141320