Skip to content

Commit b47a92e

Browse files
committed
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 <rajasekarr@nvidia.com> Signed-off-by: Chirag Shah <chirag@nvidia.com>
1 parent a1b21f5 commit b47a92e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bgpd/bgp_zebra.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1794,6 +1794,8 @@ static void bgp_handle_route_announcements_to_zebra(struct event *e)
17941794
bool install;
17951795

17961796
while (count < ZEBRA_ANNOUNCEMENTS_LIMIT) {
1797+
is_evpn = false;
1798+
17971799
dest = zebra_announce_pop(&bm->zebra_announce_head);
17981800

17991801
if (!dest)

0 commit comments

Comments
 (0)