]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_rib.c
zebra: Track tables allocated by vrf and cleanup
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 6 May 2019 23:42:26 +0000 (19:42 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 9 May 2019 11:11:22 +0000 (07:11 -0400)
commitd8612e6545f0b631dcb834d6031787469c139e88
tree0ef993d9b08b958f806a5e2d8e3361da3b3f20e5
parent8ab39b7f1c9003096eb4c701db52f84948d07cb1
zebra: Track tables allocated by vrf and cleanup

For each table created by a vrf, keep track of it and
allow for proper cleanup on shutdown of that particular
table.  Cleanup client shutdown to only cleanup data
that the particular vrf owns.  Before we were cleaning
the same table 2 times.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/zebra_rib.c
zebra/zebra_vrf.c
zebra/zebra_vrf.h