]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/zebra_router.c
zebra: make netlink object hash threadsafe
[mirror_frr.git] / zebra / zebra_router.c
index 92a3b9424b3778fd5325cbada85c3734f1b53d36..6b4a7543cd17c2ba48dbdb62b38baf707cb92199 100644 (file)
@@ -262,6 +262,9 @@ void zebra_router_terminate(void)
 #ifdef HAVE_SCRIPTING
        zebra_script_destroy();
 #endif
+
+       /* OS-specific deinit */
+       kernel_router_terminate();
 }
 
 bool zebra_router_notify_on_ack(void)
@@ -307,4 +310,7 @@ void zebra_router_init(bool asic_offload, bool notify_on_ack)
 #ifdef HAVE_SCRIPTING
        zebra_script_init();
 #endif
+
+       /* OS-specific init */
+       kernel_router_init();
 }