Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103820671
D14254.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
547 B
Referenced Files
None
Subscribers
None
D14254.diff
View Options
Index: head/sys/netinet6/icmp6.c
===================================================================
--- head/sys/netinet6/icmp6.c
+++ head/sys/netinet6/icmp6.c
@@ -2305,6 +2305,14 @@
goto bad;
}
+ /*
+ * Embed scope zone id into next hop address, since
+ * fib6_lookup_nh_basic() returns address without embedded
+ * scope zone id.
+ */
+ if (in6_setscope(&nh6.nh_addr, m->m_pkthdr.rcvif, NULL))
+ goto freeit;
+
if (IN6_ARE_ADDR_EQUAL(&src6, &nh6.nh_addr) == 0) {
nd6log((LOG_ERR,
"ICMP6 redirect rejected; "
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 30, 9:16 PM (21 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14950762
Default Alt Text
D14254.diff (547 B)
Attached To
Mode
D14254: ICMPv6: fix redirects containing global addresses
Attached
Detach File
Event Timeline
Log In to Comment