Commit d322ee3d authored by Maria Matejka's avatar Maria Matejka
Browse files

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

parent e5a8eec6
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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;
}