0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-10 05:08:42 +00:00

IO loop: fixed unassigned count

This commit is contained in:
Maria Matejka 2024-05-31 13:02:27 +02:00
parent a19d0de42f
commit 6ffab25f01

View File

@ -1546,6 +1546,7 @@ birdloop_vnew_internal(pool *pp, uint order, struct birdloop_pickup_group *group
{ {
LOCK_DOMAIN(attrs, group->domain); LOCK_DOMAIN(attrs, group->domain);
group->loop_count++; group->loop_count++;
group->loop_unassigned_count++;
add_tail(&group->loops, &loop->n); add_tail(&group->loops, &loop->n);
if (EMPTY_LIST(group->threads)) if (EMPTY_LIST(group->threads))
ev_send(&global_event_list, &group->start_threads); ev_send(&global_event_list, &group->start_threads);