]> 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)
committerDenis Ovsienko <infrastation@yandex.ru>
Mon, 2 Jan 2012 15:50:50 +0000 (19:50 +0400)
commit65cd7a4a66145cf666df707781c3e46297158c58
treeffb6551b3c022e64c1cae19e86eb49172f3bda0c
parent36d3e8d828e18c5c4cd097f659e3984ff02532cb
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.

Signed-off-by: Vyacheslav Trushkin <me@dogonthesun.net>
ospf6d/ospf6_intra.c
ospf6d/ospf6_route.c