summaryrefslogtreecommitdiff
path: root/zebra/main.c
diff options
context:
space:
mode:
authorMark Stapp <mstapp@nvidia.com>2021-11-12 15:10:00 -0500
committerMark Stapp <mstapp@nvidia.com>2021-11-12 15:10:00 -0500
commitdd9538c5f36f9d6110f1465b8708d0d7529f2cc7 (patch)
tree2235799d254c0e512a832e642b4b016d0f4e2d47 /zebra/main.c
parentd9a03ad330c20d900caf4e1c266389bd8d2da651 (diff)
zebra: free LSP workqueue later during shutdown
Free the LSP workqueue later during shutdown, so that zebra has enough time to clean up and uninstall any LSPs. Signed-off-by: Mark Stapp <mstapp@nvidia.com>
Diffstat (limited to 'zebra/main.c')
-rw-r--r--zebra/main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/zebra/main.c b/zebra/main.c
index 6162d36b43..cca7b49962 100644
--- a/zebra/main.c
+++ b/zebra/main.c
@@ -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();