mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-12 11:18:59 +00:00
zebra: free LSP workqueue early, revert PR 10050
this reverts commit dd9538c5f3
, which tried to clear
the LSP workqueue late during shutdown.
Signed-off-by: Mark Stapp <mstapp@nvidia.com>
This commit is contained in:
parent
de093103cb
commit
695b279ae3
@ -183,6 +183,9 @@ static void sigint(void)
|
||||
}
|
||||
}
|
||||
|
||||
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);
|
||||
|
@ -235,9 +235,6 @@ void zebra_router_terminate(void)
|
||||
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user