Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163361596
D26076.id75849.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D26076.id75849.diff
View Options
Index: sys/net/route.c
===================================================================
--- sys/net/route.c
+++ sys/net/route.c
@@ -98,16 +98,12 @@
SYSCTL_UINT(_net, OID_AUTO, fibs, CTLFLAG_RDTUN, &rt_numfibs, 0, "");
/*
- * By default add routes to all fibs for new interfaces.
- * Once this is set to 0 then only allocate routes on interface
- * changes for the FIB of the caller when adding a new set of addresses
- * to an interface. XXX this is a shotgun aproach to a problem that needs
- * a more fine grained solution.. that will come.
- * XXX also has the problems getting the FIB from curthread which will not
- * always work given the fib can be overridden and prefixes can be added
- * from the network stack context.
+ * Control interface address fib propagation.
+ * By default, interface address routes are added to the fib of the interface.
+ * Once set to non-zero, adds interface address route to all fibs.
+ * This behaviour is deprecaded and will be removed soon.
*/
-VNET_DEFINE(u_int, rt_add_addr_allfibs) = 1;
+VNET_DEFINE(u_int, rt_add_addr_allfibs) = 0;
SYSCTL_UINT(_net, OID_AUTO, add_addr_allfibs, CTLFLAG_RWTUN | CTLFLAG_VNET,
&VNET_NAME(rt_add_addr_allfibs), 0, "");
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 23, 12:34 PM (19 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35402135
Default Alt Text
D26076.id75849.diff (1 KB)
Attached To
Mode
D26076: Switch net.add_addr_allfibs default to 0
Attached
Detach File
Event Timeline
Log In to Comment