diff options
| author | Mark Stapp <mstapp@nvidia.com> | 2021-11-18 07:32:01 -0500 |
|---|---|---|
| committer | Mark Stapp <mstapp@nvidia.com> | 2021-11-18 07:35:35 -0500 |
| commit | 695b279ae3b564b3d850a6eb70e79dccd0c6d5d3 (patch) | |
| tree | a8a8689663a4c60ff6f31cf1b7a9a6477a189e21 /zebra/main.c | |
| parent | de093103cb859b7ec2349bf158764233efd15705 (diff) | |
zebra: free LSP workqueue early, revert PR 10050
this reverts commit dd9538c5f36f9d6110, which tried to clear
the LSP workqueue late during shutdown.
Signed-off-by: Mark Stapp <mstapp@nvidia.com>
Diffstat (limited to 'zebra/main.c')
| -rw-r--r-- | zebra/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zebra/main.c b/zebra/main.c index 038022ceb2..275d9af5d2 100644 --- a/zebra/main.c +++ b/zebra/main.c @@ -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); |
