Page MenuHomeFreeBSD

D55387.diff
No OneTemporary

D55387.diff

diff --git a/sys/netinet6/ip6_input.c b/sys/netinet6/ip6_input.c
--- a/sys/netinet6/ip6_input.c
+++ b/sys/netinet6/ip6_input.c
@@ -683,21 +683,6 @@
in6_ifstat_inc(rcvif, ifs6_in_addrerr);
goto bad;
}
-#if 0
- /*
- * Reject packets with IPv4 compatible addresses (auto tunnel).
- *
- * The code forbids auto tunnel relay case in RFC1933 (the check is
- * stronger than RFC1933). We may want to re-enable it if mech-xx
- * is revised to forbid relaying case.
- */
- if (IN6_IS_ADDR_V4COMPAT(&ip6->ip6_src) ||
- IN6_IS_ADDR_V4COMPAT(&ip6->ip6_dst)) {
- IP6STAT_INC(ip6s_badscope);
- in6_ifstat_inc(m->m_pkthdr.rcvif, ifs6_in_addrerr);
- goto bad;
- }
-#endif
/*
* Try to forward the packet, but if we fail continue.
* ip6_tryforward() does not generate redirects, so fall

File Metadata

Mime Type
text/plain
Expires
Sun, Mar 15, 4:00 PM (2 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28903618
Default Alt Text
D55387.diff (800 B)

Event Timeline