Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144287766
D46204.id141636.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
832 B
Referenced Files
None
Subscribers
None
D46204.id141636.diff
View Options
diff --git a/sys/net/route/route_tables.c b/sys/net/route/route_tables.c
--- a/sys/net/route/route_tables.c
+++ b/sys/net/route/route_tables.c
@@ -218,6 +218,7 @@
static void
grow_rtables(uint32_t num_tables)
{
+ static bool printedonce;
struct domain *dom;
struct rib_head **prnh, *rh;
struct rib_head **new_rt_tables, **old_rt_tables;
@@ -231,10 +232,12 @@
new_rt_tables = mallocarray(num_tables * (AF_MAX + 1), sizeof(void *),
M_RTABLE, M_WAITOK | M_ZERO);
- if ((num_tables > 1) && (V_rt_add_addr_allfibs == 0))
+ if (num_tables > 1 && V_rt_add_addr_allfibs == 0 && !printedonce) {
+ printedonce = true;
printf("WARNING: Adding ifaddrs to all fibs has been turned off "
"by default. Consider tuning %s if needed\n",
"net.add_addr_allfibs");
+ }
#ifdef FIB_ALGO
fib_grow_rtables(num_tables);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 8, 4:08 PM (4 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28471037
Default Alt Text
D46204.id141636.diff (832 B)
Attached To
Mode
D46204: fibs: Limit the WARNING message to only once when setting up with multiple fibs
Attached
Detach File
Event Timeline
Log In to Comment