mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-15 02:00:24 +00:00
some threads will still get vrf, when a new entry would created with insufficient data, and so it may crash.
This commit is contained in:
parent
8179b7e188
commit
8dc5dbb8c8
10
zebra/main.c
10
zebra/main.c
@ -175,11 +175,6 @@ static void sigint(void)
|
|||||||
if (zrouter.lsp_process_q)
|
if (zrouter.lsp_process_q)
|
||||||
work_queue_free_and_null(&zrouter.lsp_process_q);
|
work_queue_free_and_null(&zrouter.lsp_process_q);
|
||||||
|
|
||||||
vrf_terminate();
|
|
||||||
|
|
||||||
ns_walk_func(zebra_ns_early_shutdown, NULL, NULL);
|
|
||||||
zebra_ns_notify_close();
|
|
||||||
|
|
||||||
access_list_reset();
|
access_list_reset();
|
||||||
prefix_list_reset();
|
prefix_list_reset();
|
||||||
/*
|
/*
|
||||||
@ -207,6 +202,11 @@ void zebra_finalize(struct thread *dummy)
|
|||||||
{
|
{
|
||||||
zlog_info("Zebra final shutdown");
|
zlog_info("Zebra final shutdown");
|
||||||
|
|
||||||
|
vrf_terminate();
|
||||||
|
|
||||||
|
ns_walk_func(zebra_ns_early_shutdown, NULL, NULL);
|
||||||
|
zebra_ns_notify_close();
|
||||||
|
|
||||||
/* Stop dplane thread and finish any cleanup */
|
/* Stop dplane thread and finish any cleanup */
|
||||||
zebra_dplane_shutdown();
|
zebra_dplane_shutdown();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user