From: Chirag Shah Date: Mon, 17 Jun 2024 20:58:03 +0000 (-0700) Subject: bgpd: backpressure - fix evpn route sync to zebra X-Git-Tag: base_10.2~333^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=b47a92e2e51595f820609e4d909f2b0abb9d6309;p=mirror%2Ffrr.git bgpd: backpressure - fix evpn route sync to zebra In scaled EVPN + ipv4/ipv6 uni route sync to zebra, some of the ipv4/ipv6 routes skipped reinstallation due to incorrect local variable's stale value. Once the local variable value reset in each loop iteration all skipped routes synced to zebra properly. Ticket: #3948828 Signed-off-by: Rajasekar Raja Signed-off-by: Chirag Shah --- diff --git a/bgpd/bgp_zebra.c b/bgpd/bgp_zebra.c index 8fab0d1c05..c79d7dff16 100644 --- a/bgpd/bgp_zebra.c +++ b/bgpd/bgp_zebra.c @@ -1794,6 +1794,8 @@ static void bgp_handle_route_announcements_to_zebra(struct event *e) bool install; while (count < ZEBRA_ANNOUNCEMENTS_LIMIT) { + is_evpn = false; + dest = zebra_announce_pop(&bm->zebra_announce_head); if (!dest)