Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F174995441
D58409.id182600.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
473 B
Referenced Files
None
Subscribers
None
D58409.id182600.diff
View Options
diff --git a/sys/netinet/ip_icmp.c b/sys/netinet/ip_icmp.c
--- a/sys/netinet/ip_icmp.c
+++ b/sys/netinet/ip_icmp.c
@@ -965,8 +965,7 @@
if ((ifa = ifa_ifwithnet((struct sockaddr *)gateway, 0, fibnum))==NULL)
return (ENETUNREACH);
- /* TODO: fib-aware. */
- if (ifa_ifwithaddr_check((struct sockaddr *)gateway))
+ if (ifa_ifwithaddr_fib_check((struct sockaddr *)gateway, fibnum))
return (EHOSTUNREACH);
nh = fib4_lookup(fibnum, dst->sin_addr, 0, NHR_NONE, 0);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Oct 8, 12:14 PM (3 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35441335
Default Alt Text
D58409.id182600.diff (473 B)
Attached To
Mode
D58409: icmp: Verify redirect gateway with fib-aware ifa selection
Attached
Detach File
Event Timeline
Log In to Comment