mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-28 14:21:45 +00:00
Merge pull request #10050 from mjstapp/fix_mpls_queue_cleanup
zebra: free LSP workqueue later during shutdown
This commit is contained in:
commit
2247d05efe
@ -182,8 +182,6 @@ static void sigint(void)
|
||||
SET_FLAG(zvrf->flags, ZEBRA_VRF_RETAIN);
|
||||
}
|
||||
}
|
||||
if (zrouter.lsp_process_q)
|
||||
work_queue_free_and_null(&zrouter.lsp_process_q);
|
||||
|
||||
vrf_terminate();
|
||||
|
||||
|
@ -235,6 +235,9 @@ 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