OSPF: explicitly stop the periodic tick on shutdown to avoid recalculation races
This commit is contained in:
parent
e5a8eec6d7
commit
d322ee3d54
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue