this reverts commit
dd9538c5f36f9d6110, which tried to clear
the LSP workqueue late during shutdown.
Signed-off-by: Mark Stapp <mstapp@nvidia.com>
}
}
+ if (zrouter.lsp_process_q)
+ work_queue_free_and_null(&zrouter.lsp_process_q);
+
vrf_terminate();
ns_walk_func(zebra_ns_early_shutdown, NULL, NULL);
RB_FOREACH_SAFE (zrt, zebra_router_table_head, &zrouter.tables, tmp)
zebra_router_free_table(zrt);
- if (zrouter.lsp_process_q)
- work_queue_free_and_null(&zrouter.lsp_process_q);
-
work_queue_free_and_null(&zrouter.ribq);
meta_queue_free(zrouter.mq);