summaryrefslogtreecommitdiff
path: root/lib/flex_algo.c
diff options
context:
space:
mode:
authorRajasekar Raja <rajasekarr@nvidia.com>2024-11-13 23:09:55 -0800
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-11-16 10:53:01 +0000
commita7aae788ec09ca99994d05546f361fe05a363053 (patch)
treee406020d6eb4837a518dea6f6cafd5629e523e10 /lib/flex_algo.c
parent22746b8d59e6e6cb77ced61bc9e0cff2ead227b5 (diff)
bgpd : backpressure - Fix to pop items off zebra_announce FIFO for few EVPN triggers
In cases such as 'no advertise-all-vni' and L2 VNI DELETE, we need to pop all the VPN routes present in the bgp_zebra_announce FIFO yet to be processed regardless of VNI is configured or not. NOTE: NO need to pop the VPN routes in two cases 1) In free_vni_entry - Called by bgp_free()->bgp_evpn_cleanup(). - Since bgp_delete is called before bgp_free and we pop all the dest pertaining to bgp under delete. 2) evpn_delete_vni() when user configures "no vni" since the withdraw of all routes happen in normal cycle. Fixes: a07df6f7548f6bd1b92acbb7a10c3823de33fe5f ("bgpd : backpressure - Handle BGP-Zebra(EPVN) Install evt Creation") Ticket :#4163611 Signed-off-by: Rajasekar Raja <rajasekarr@nvidia.com> (cherry picked from commit 898852f2699887bc92e96267cb3fcf221a3df01e)
Diffstat (limited to 'lib/flex_algo.c')
0 files changed, 0 insertions, 0 deletions