summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_main.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2024-01-25 18:53:24 +0100
committerRajasekar Raja <rajasekarr@nvidia.com>2024-03-25 22:23:53 +0100
commit705fed7ca8ad0d849575fc0466eff7fa8fe6975d (patch)
tree417b6853dbe0dd3abe48611b670957e20af5acd0 /bgpd/bgp_main.c
parentMerge pull request #15222 from chiragshah6/fdev2 (diff)
downloadfrr-705fed7ca8ad0d849575fc0466eff7fa8fe6975d.tar.xz
frr-705fed7ca8ad0d849575fc0466eff7fa8fe6975d.zip
bgpd: backpressure - Add a typesafe list for Zebra Announcement
Modify the bgp master to hold a type safe list for bgp_dests that need to be passed to zebra. Future commits will use this. Ticket: #3390099 Signed-off-by: Donald Sharp <sharpd@nvidia.com> Signed-off-by: Rajasekar Raja <rajasekarr@nvidia.com>
Diffstat (limited to 'bgpd/bgp_main.c')
-rw-r--r--bgpd/bgp_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bgpd/bgp_main.c b/bgpd/bgp_main.c
index 851c4880c..44d5ee68c 100644
--- a/bgpd/bgp_main.c
+++ b/bgpd/bgp_main.c
@@ -207,6 +207,8 @@ static __attribute__((__noreturn__)) void bgp_exit(int status)
bgp_evpn_mh_finish();
bgp_nhg_finish();
+ zebra_announce_fini(&bm->zebra_announce_head);
+
/* reverse bgp_dump_init */
bgp_dump_finish();