summaryrefslogtreecommitdiff
path: root/zebra/zebra_ns.c
diff options
context:
space:
mode:
authorMark Stapp <mjs.ietf@gmail.com>2024-11-04 11:49:30 -0500
committerGitHub <noreply@github.com>2024-11-04 11:49:30 -0500
commit960462aadedbc921a80c20c231cfcf6e94b5a98b (patch)
treee4c86c99d46a764478f2a76eec35a0fcf36ef953 /zebra/zebra_ns.c
parent4c525a47c8c7295dd4c03461e6fa5a4835679184 (diff)
parent9e74dda819bf5922176fbbc7f3462c844099be13 (diff)
Merge pull request #16960 from donaldsharp/zebra_nhg_startup_issue
zebra: On startup actually allow for nhe's to be early
Diffstat (limited to 'zebra/zebra_ns.c')
-rw-r--r--zebra/zebra_ns.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/zebra/zebra_ns.c b/zebra/zebra_ns.c
index ffd749fcf1..d6ed0cc405 100644
--- a/zebra/zebra_ns.c
+++ b/zebra/zebra_ns.c
@@ -123,6 +123,17 @@ void zebra_ns_startup_continue(struct zebra_dplane_ctx *ctx)
vlan_read(zns);
kernel_read_pbr_rules(zns);
kernel_read_tc_qdisc(zns);
+
+ /*
+ * At this point FRR has requested and read a bunch
+ * of data from the dplane about initial state of
+ * the system. Zebra now needs to initialize
+ * the gr subsystem ( or the route sweeping
+ * subsystem ) to allow that to properly work.
+ * This must be done *immediately* after the
+ * load of all data from the underlying dplane.
+ */
+ zebra_main_router_started();
break;
}
}