]> git.proxmox.com Git - mirror_frr.git/commitdiff
zebra: zebra_router.c does not own the data plane shutdown of tables
authorDonald Sharp <sharpd@cumulusnetworks.com>
Sun, 10 Feb 2019 15:14:26 +0000 (10:14 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 27 Mar 2019 20:19:28 +0000 (16:19 -0400)
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>
zebra/zebra_router.c

index cabc8be8ddbc004ee44bf6d27829e569ee3303b8..9e09cbca3fb546efa986f93e9c4b56be956dd9a0 100644 (file)
@@ -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);