Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160688460
D56353.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
993 B
Referenced Files
None
Subscribers
None
D56353.diff
View Options
diff --git a/sys/netinet/ip_fastfwd.c b/sys/netinet/ip_fastfwd.c
--- a/sys/netinet/ip_fastfwd.c
+++ b/sys/netinet/ip_fastfwd.c
@@ -293,7 +293,7 @@
/*
* Is it for a local address on this host?
*/
- if (in_localip(ip->ip_dst))
+ if (in_localip_fib(ip->ip_dst, M_GETFIB(m)))
return m;
IPSTAT_INC(ips_total);
@@ -328,7 +328,7 @@
/*
* Is it now for a local address on this host?
*/
- if (in_localip(dest))
+ if (in_localip_fib(dest, M_GETFIB(m)))
goto forwardlocal;
/*
* Go on with new destination address
diff --git a/sys/netinet6/ip6_fastfwd.c b/sys/netinet6/ip6_fastfwd.c
--- a/sys/netinet6/ip6_fastfwd.c
+++ b/sys/netinet6/ip6_fastfwd.c
@@ -113,7 +113,7 @@
IN6_IS_ADDR_LINKLOCAL(&ip6->ip6_src) ||
IN6_IS_ADDR_UNSPECIFIED(&ip6->ip6_dst) ||
IN6_IS_ADDR_UNSPECIFIED(&ip6->ip6_src) ||
- in6_localip(&ip6->ip6_dst))
+ in6_localip_fib(&ip6->ip6_dst, M_GETFIB(m)))
return (m);
/*
* Check that the amount of data in the buffers
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jun 27, 7:43 PM (15 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34414361
Default Alt Text
D56353.diff (993 B)
Attached To
Mode
D56353: routing: Make ip[6]_tryforward() FIB-aware for local traffic
Attached
Detach File
Event Timeline
Log In to Comment