]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: backpressure - Fix to avoid CPU hog 16035/head
authorRajasekar Raja <rajasekarr@nvidia.com>
Fri, 17 May 2024 22:43:59 +0000 (15:43 -0700)
committerRajasekar Raja <rajasekarr@nvidia.com>
Fri, 17 May 2024 22:43:59 +0000 (15:43 -0700)
commit920bf45e101c2163f4ed4a6d354026609e1eaeca
tree7a4e47cc298ffe0e7cf0124ed506fce47dbb0c3f
parente41b4a755e38eacf0a74a3a0edb62f1a6831819b
bgpd: backpressure - Fix to avoid CPU hog

In case when bgp_evpn_free or bgp_delete is called and the announce_list
has few items where vpn/bgp does not match, we add the item back to the
list. Because of this the list count is always > 0 thereby hogging CPU or
infinite loop.

Ticket: #3905624

Signed-off-by: Rajasekar Raja <rajasekarr@nvidia.com>
bgpd/bgp_evpn.c
bgpd/bgpd.c