Skip to content
Snippets Groups Projects
Commit 22a0900e authored by Maria Matejka's avatar Maria Matejka
Browse files

BFD: fixed a request pickup race condition

When several BGPs requested a BFD session in short time, chances were
that the second BGP would file a request while the pickup routine was
still running and it would get enqueued into the waiting list instead of
being picked up.

Fixed this by enforcing pickup loop restart when new requests got added,
and also by atomically moving the unpicked requests to a temporary list
to announce admin down before actually being added into the wait list.
parent 4a69a647
No related branches found
No related tags found
No related merge requests found
Pipeline #111826 failed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment