}
/* to free the lookup lock in node get*/
route_unlock_node(current);
- old = ospf6_lsa_unlock(old);
+ ospf6_lsa_unlock(old);
}
ospf6_lsdb_count_assert(lsdb);
route_unlock_node(node); /* to free the lookup lock */
route_unlock_node(node); /* to free the original lock */
- lsa = ospf6_lsa_unlock(lsa);
+ ospf6_lsa_unlock(lsa);
ospf6_lsdb_count_assert(lsdb);
}
{
struct route_node *node = lsa->rn;
- lsa = ospf6_lsa_unlock(lsa);
+ ospf6_lsa_unlock(lsa);
do
node = route_next_until(node, iterend);
if (lsa != NULL) {
if (lsa->rn != NULL)
route_unlock_node(lsa->rn);
- lsa = ospf6_lsa_unlock(lsa);
+ ospf6_lsa_unlock(lsa);
}
}