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;
}