diff options
author | Donald Sharp <sharpd@nvidia.com> | 2022-08-09 19:09:16 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2022-08-10 13:14:43 +0200 |
commit | a310ebc114af2f211e493ec29817b3debab2561a (patch) | |
tree | fda48a45b2f41316b48488affe0e515f32417efa /zebra/zebra_vrf.c | |
parent | zebra: System routes should be processed the same time as kernel (diff) | |
download | frr-a310ebc114af2f211e493ec29817b3debab2561a.tar.xz frr-a310ebc114af2f211e493ec29817b3debab2561a.zip |
zebra: Combine meta_queue_free and meta_queue_vrf_free functions
These functions essentially do the same thing. Combine them
for the goodness of mankind.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/zebra_vrf.c')
-rw-r--r-- | zebra/zebra_vrf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/zebra_vrf.c b/zebra/zebra_vrf.c index 553864d08..6624f0beb 100644 --- a/zebra/zebra_vrf.c +++ b/zebra/zebra_vrf.c @@ -218,7 +218,7 @@ static int zebra_vrf_disable(struct vrf *vrf) if_nbr_ipv6ll_to_ipv4ll_neigh_del_all(ifp); /* clean-up work queues */ - rib_meta_queue_free_vrf(zrouter.mq, zvrf); + meta_queue_free(zrouter.mq, zvrf); /* Cleanup (free) routing tables and NHT tables. */ for (afi = AFI_IP; afi <= AFI_IP6; afi++) { @@ -253,7 +253,7 @@ static int zebra_vrf_delete(struct vrf *vrf) table_manager_disable(zvrf); /* clean-up work queues */ - rib_meta_queue_free_vrf(zrouter.mq, zvrf); + meta_queue_free(zrouter.mq, zvrf); /* Free Vxlan and MPLS. */ zebra_vxlan_close_tables(zvrf); |