]> git.puffer.fish Git - mirror/frr.git/commit
ospfd: Make sure route table is recalculated.
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
Mon, 27 Jul 2009 10:42:35 +0000 (12:42 +0200)
committerPaul Jakma <paul@quagga.net>
Tue, 11 Aug 2009 16:33:27 +0000 (17:33 +0100)
commit5996e0df2eb325445114517209cd24f37d91774a
tree56bee1d2ab48d4b7a5e163747b54d7537f4df9a3
parent11637435b2d74702296b0522500d03b0395554a2
ospfd: Make sure route table is recalculated.

In some cases ospfd does not recalc the route table. This
happens when ospfd receives an old LSA which will trigger
recalc but the this recalc will fail because all interfaces
isn't up yet. Next LSA that is originated matches the old one
so no recalc will be performed. This problem has been observed
when there are only 2 ppp I/Fs in an area, both go down at the
same time, then they come up again with a few seconds apart.

* ospf_lsa.c: (ospf_{router,network}_lsa_install) avoid a needless scheduling
  of SPF.
  (ospf_lsa_different) fix bug in LSA comparison that would lead to the
  described failure to schedule SPF.
ospfd/ospf_lsa.c