mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 05:04:18 +00:00
bgpd: Remove call into event_master_free_unused
This call was originally put into place to help reduce memory problems associated with bgp having a bajillion events under load and then we would have a bunch of events ready to be used on the unused list. In the meantime code was put into place that limited the depth of the unused list to 10 elements. This call has now become unnecessary. Let's just remove it. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
66feece071
commit
2b1e5ced04
@ -4223,8 +4223,6 @@ int bgp_delete(struct bgp *bgp)
|
||||
if (bgp->process_queue)
|
||||
work_queue_free_and_null(&bgp->process_queue);
|
||||
|
||||
event_master_free_unused(bm->master);
|
||||
|
||||
if (!IS_BGP_INSTANCE_HIDDEN(bgp))
|
||||
bgp_unlock(bgp); /* initial reference */
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user