0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2025-01-03 07:31:54 +00:00

OSPF: explicitly stop the periodic tick on shutdown to avoid recalculation races

This commit is contained in:
Maria Matejka 2021-09-05 13:00:08 +02:00
parent e5a8eec6d7
commit d322ee3d54

View File

@ -558,6 +558,9 @@ ospf_shutdown(struct proto *P)
}
FIB_WALK_END;
if (tm_active(p->disp_timer))
tm_stop(p->disp_timer);
return PS_DOWN;
}