summaryrefslogtreecommitdiff
path: root/zebra/zebra_router.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-02-10 10:14:26 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-03-27 16:19:28 -0400
commit3f2b1b56ccb14f4250e3d6d31daf9d4e69cf6153 (patch)
treed8b11c8b1e7c920c1f8e880b849a6d835e128ca2 /zebra/zebra_router.c
parent416745628e73d8889e43bb153e365aa5225f22a5 (diff)
zebra: zebra_router.c does not own the data plane shutdown of tables
When shutting down, the individual vrf's own the shutdown of the table and subsuquent removal from the routes from the kernel. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_router.c')
-rw-r--r--zebra/zebra_router.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/zebra/zebra_router.c b/zebra/zebra_router.c
index cabc8be8dd..9e09cbca3f 100644
--- a/zebra/zebra_router.c
+++ b/zebra/zebra_router.c
@@ -164,8 +164,6 @@ static void zebra_router_free_table(struct zebra_router_table *zrt)
{
void *table_info;
- rib_close_table(zrt->table);
-
table_info = route_table_get_info(zrt->table);
route_table_finish(zrt->table);
RB_REMOVE(zebra_router_table_head, &zrouter.tables, zrt);