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:
parent
e5a8eec6d7
commit
d322ee3d54
@ -558,6 +558,9 @@ ospf_shutdown(struct proto *P)
|
|||||||
}
|
}
|
||||||
FIB_WALK_END;
|
FIB_WALK_END;
|
||||||
|
|
||||||
|
if (tm_active(p->disp_timer))
|
||||||
|
tm_stop(p->disp_timer);
|
||||||
|
|
||||||
return PS_DOWN;
|
return PS_DOWN;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user