Page MenuHomeFreeBSD

D19969.id.diff
No OneTemporary

D19969.id.diff

Index: head/sys/netinet6/raw_ip6.c
===================================================================
--- head/sys/netinet6/raw_ip6.c
+++ head/sys/netinet6/raw_ip6.c
@@ -243,6 +243,12 @@
in6_cksum(m, proto, *offp,
m->m_pkthdr.len - *offp)) {
RIP6STAT_INC(rip6s_badsum);
+ /*
+ * Drop the received message, don't send an
+ * ICMP6 message. Set proto to IPPROTO_NONE
+ * to achieve that.
+ */
+ proto = IPPROTO_NONE;
goto skip_2;
}
}

File Metadata

Mime Type
text/plain
Expires
Sun, Oct 12, 8:35 PM (4 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23635421
Default Alt Text
D19969.id.diff (488 B)

Event Timeline