Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147917609
D55387.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
800 B
Referenced Files
None
Subscribers
None
D55387.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D55387: ip6_input: remove unused IPv4-compatible IPv6 checking
Attached
Detach File
Event Timeline
Log In to Comment