mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-28 07:40:02 +00:00
bgpd: Compile fix for clearing-completion FSM fix, using workqueue helper.
(cherry picked from commit 782fb0770080d0e2970fc63af8645e82543aa4d0) Conflicts: bgpd/bgp_fsm.c
This commit is contained in:
parent
10ead5c82c
commit
b4575c00ce
@ -940,7 +940,7 @@ bgp_fsm_change_status (struct peer *peer, int status)
|
||||
* the state change that happens below, so peer will be in Clearing
|
||||
* (or Deleted).
|
||||
*/
|
||||
if (!peer->clear_node_queue->thread)
|
||||
if (!work_queue_is_scheduled (peer->clear_node_queue))
|
||||
BGP_EVENT_ADD (peer, Clearing_Completed);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user