Page MenuHomeFreeBSD

D36044.1796134848.diff
No OneTemporary

Authored By
Unknown
Size
750 B
Referenced Files
None
Subscribers
None

D36044.1796134848.diff

Index: sys/netinet/in_gif.c
===================================================================
--- sys/netinet/in_gif.c
+++ sys/netinet/in_gif.c
@@ -294,6 +294,8 @@
("in_gif_output: unexpected misalignment"));
m->m_data += len;
m->m_len -= ETHERIP_ALIGN;
+ if ((m->m_flags & M_PKTHDR) != 0)
+ m->m_pkthdr.len -= ETHERIP_ALIGN;
}
#endif
ip = mtod(m, struct ip *);
Index: sys/netinet6/in6_gif.c
===================================================================
--- sys/netinet6/in6_gif.c
+++ sys/netinet6/in6_gif.c
@@ -309,6 +309,8 @@
("in6_gif_output: unexpected misalignment"));
m->m_data += len;
m->m_len -= ETHERIP_ALIGN;
+ if ((m->m_flags & M_PKTHDR) != 0)
+ m->m_pkthdr.len -= ETHERIP_ALIGN;
}
#endif

File Metadata

Mime Type
text/plain
Expires
Tue, Dec 1, 2:20 PM (16 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42126044
Default Alt Text
D36044.1796134848.diff (750 B)

Event Timeline