]> git.puffer.fish Git - mirror/frr.git/commit
ospf6d: Route locking (memory) cleanup
authorTom Goff <thomas.goff@boeing.com>
Wed, 10 Nov 2010 21:03:02 +0000 (13:03 -0800)
committerPaul Jakma <paul@quagga.net>
Mon, 21 Mar 2011 13:31:16 +0000 (13:31 +0000)
commite7a6d80d4fe70a546a33ffe063f182252237ccd8
treed0315314a3772846fef416f027ec42b445fb0ce9
parentae2254aa7f2eb7436734f497658f1f26f4bf37c7
ospf6d: Route locking (memory) cleanup

* ospf6_route.c: (ospf6_route_best_next) Allows unlock route, even
  when there's no next route.  This is consistent with how
  ospf6_route_next() behaves.

* ospf6_intra.c: (ospf6_intra_prefix_lsa_remove) Make sure the last
  route considered is always unlocked.  This is needed when the for
  loop terminates because ospf6_route_is_prefix() returns zero.
ospf6d/ospf6_intra.c
ospf6d/ospf6_route.c