From 7d38890de8b16014249381ea497bc18d285d5278 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Mon, 29 Jan 2018 16:20:41 -0500 Subject: [PATCH] zebra: On shutdown actually delete rn's assoc w/ other_tables Zebra stores routes coming from the kernel for non-default tables. This information on shutdown was being leaked because we never cleaned it up. Allow for this to happen now. Signed-off-by: Donald Sharp --- zebra/zebra_vrf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/zebra/zebra_vrf.c b/zebra/zebra_vrf.c index 95426683a8..246a7e7e4c 100644 --- a/zebra/zebra_vrf.c +++ b/zebra/zebra_vrf.c @@ -456,6 +456,7 @@ struct route_table *zebra_vrf_other_route_table(afi_t afi, u_int32_t table_id, info->afi = afi; info->safi = SAFI_UNICAST; table->info = info; + table->cleanup = zebra_rtable_node_cleanup; zvrf->other_table[afi][table_id] = table; } -- 2.39.5