summaryrefslogtreecommitdiff
path: root/zebra/zebra_router.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-01-11 15:11:38 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-01-31 09:20:46 -0500
commit489a9614293c0e538746164ac4a249890a4ae91b (patch)
treef0d1ebe6ed5b18da235150243acf5aef389be566 /zebra/zebra_router.c
parentb3d43ff4714742c6e9d3d66501b01a392588e940 (diff)
zebra: Move ribq from zebrad to zrouter
The zrouter should own this data structure and it should not be defined in zserv.h Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_router.c')
-rw-r--r--zebra/zebra_router.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/zebra/zebra_router.c b/zebra/zebra_router.c
index 1cf73b7b2f..dde0e1bf62 100644
--- a/zebra/zebra_router.c
+++ b/zebra/zebra_router.c
@@ -188,6 +188,9 @@ void zebra_router_terminate(void)
zebra_router_free_table(zrt);
}
+ work_queue_free_and_null(&zrouter.ribq);
+ meta_queue_free(zebrad.mq);
+
zebra_vxlan_disable();
zebra_mlag_terminate();