]> git.puffer.fish Git - mirror/frr.git/commit
[ospfd] Bug #330: SPF must consider that nexthop-calc may fail
authorPaul Jakma <paul.jakma@sun.com>
Wed, 24 Jan 2007 14:51:51 +0000 (14:51 +0000)
committerPaul Jakma <paul.jakma@sun.com>
Wed, 24 Jan 2007 14:51:51 +0000 (14:51 +0000)
commitbc20c1a4638db3b92a2e2f7f4b820e60f30a6146
tree12d8b124a27309f70d1e8b070641659a517f392a
parentfb6724a6b987cb6fab00cc9326674bd14a0d09fa
[ospfd] Bug #330: SPF must consider that nexthop-calc may fail

2007-01-24 Paul Jakma <paul.jakma@sun.com>

* ospf_spf.c: Bug #330: Nexthop calculation sometimes may fail,
  and it needs to indicate this result to SPF.
  (ospf_spf_add_parent) Flush of parent list needs to be done here,
  for simplicity.
  (ospf_nexthop_calculation) Caller needs to know whether
  nexthop calculation succeeded. Every return statement must
  correctly indicate such.
  (ospf_spf_next) Queueing/prioritisation of vertices in SPF
  must take into account whether nexthop_calculation succeeded,
  or SPF may fail to find best paths.
ospfd/ChangeLog
ospfd/ospf_spf.c