mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-25 07:28:41 +00:00
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>
This commit is contained in:
parent
d4e8279adc
commit
36a70b5d20
@ -1792,6 +1792,8 @@ static void bgp_handle_route_announcements_to_zebra(struct event *e)
|
||||
const struct prefix_evpn *evp = NULL;
|
||||
|
||||
while (count < ZEBRA_ANNOUNCEMENTS_LIMIT) {
|
||||
is_evpn = false;
|
||||
|
||||
dest = zebra_announce_pop(&bm->zebra_announce_head);
|
||||
|
||||
if (!dest)
|
||||
|
Loading…
Reference in New Issue
Block a user