summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_router.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-02-10 16:14:26 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-03-27 21:19:28 +0100
commit3f2b1b56ccb14f4250e3d6d31daf9d4e69cf6153 (patch)
treed8b11c8b1e7c920c1f8e880b849a6d835e128ca2 /zebra/zebra_router.c
parentzebra: When shutting down actually close the socket (diff)
downloadfrr-3f2b1b56ccb14f4250e3d6d31daf9d4e69cf6153.tar.xz
frr-3f2b1b56ccb14f4250e3d6d31daf9d4e69cf6153.zip
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 cabc8be8d..9e09cbca3 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);