summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>2010-03-08 13:58:10 +0100
committerPaul Jakma <paul@quagga.net>2015-07-29 21:42:54 +0100
commitd5643f5a477e099a3dcae4a707ccb5ca66bfee66 (patch)
tree9c82ee88bc3173ca327f392e13862300d76f6148
parentfbb6c8650344fe72d39f538c681659e8b76a39d0 (diff)
downloadquagga-d5643f5a477e099a3dcae4a707ccb5ca66bfee66.tar.bz2
quagga-d5643f5a477e099a3dcae4a707ccb5ca66bfee66.tar.xz
ospfd: Move route_unlock_node() in ospf_ase_incremental_update()
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se> Acked-by: Feng Lu <lu.feng@6wind.com>
-rw-r--r--ospfd/ospf_ase.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_ase.c b/ospfd/ospf_ase.c
index 04240c15..027e49ff 100644
--- a/ospfd/ospf_ase.c
+++ b/ospfd/ospf_ase.c
@@ -821,6 +821,7 @@ ospf_ase_incremental_update (struct ospf *ospf, struct ospf_lsa *lsa)
{
rn2 = route_node_get (tmp_old, (struct prefix *) &p);
rn2->info = rn->info;
+ route_unlock_node (rn);
}
/* install changes to zebra */
@@ -845,7 +846,6 @@ ospf_ase_incremental_update (struct ospf *ospf, struct ospf_lsa *lsa)
{
rn->info = NULL;
route_unlock_node (rn);
- route_unlock_node (rn);
}
}