mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-11-01 10:46:46 +00:00
BGP: crash in list_delete_all_node when shutting down BGP
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com> Ticket: CM-7904
This commit is contained in:
parent
ce2fa071d8
commit
c12cd8bb71
@ -2199,9 +2199,12 @@ bgp_process_queue_init (void)
|
||||
/* Use a higher yield value of 50ms for main queue processing */
|
||||
bm->process_main_queue->spec.yield = 50 * 1000L;
|
||||
|
||||
memcpy (bm->process_rsclient_queue, bm->process_main_queue,
|
||||
sizeof (struct work_queue));
|
||||
bm->process_rsclient_queue->spec.workfunc = &bgp_process_rsclient;
|
||||
bm->process_rsclient_queue->spec.del_item_data = &bgp_processq_del;
|
||||
bm->process_rsclient_queue->spec.max_retries = 0;
|
||||
bm->process_rsclient_queue->spec.hold = 50;
|
||||
/* Use a higher yield value of 50ms for main queue processing */
|
||||
bm->process_rsclient_queue->spec.yield = 50 * 1000L;
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Loading…
Reference in New Issue
Block a user