Commit 920bf45
committed
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>1 parent e41b4a7 commit 920bf45
2 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6317 | 6317 | | |
6318 | 6318 | | |
6319 | 6319 | | |
| 6320 | + | |
6320 | 6321 | | |
6321 | | - | |
| 6322 | + | |
6322 | 6323 | | |
| 6324 | + | |
6323 | 6325 | | |
6324 | 6326 | | |
6325 | 6327 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3908 | 3908 | | |
3909 | 3909 | | |
3910 | 3910 | | |
| 3911 | + | |
3911 | 3912 | | |
3912 | 3913 | | |
3913 | 3914 | | |
3914 | | - | |
| 3915 | + | |
3915 | 3916 | | |
| 3917 | + | |
3916 | 3918 | | |
3917 | 3919 | | |
3918 | 3920 | | |
| |||
0 commit comments