diff options
author | Christian Franke <chris@opensourcerouting.org> | 2014-04-28 10:04:59 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2014-05-14 16:46:37 +0200 |
commit | 8afee5c1729e56f74d27ceb1766bea9f943f060c (patch) | |
tree | 2a3fb12d1a3f951d17df4299266eda47ec85087c /ospfd | |
parent | ospfd: fix a reference counting issue introduced by commit 4de8bf0011 (diff) | |
download | frr-8afee5c1729e56f74d27ceb1766bea9f943f060c.tar.xz frr-8afee5c1729e56f74d27ceb1766bea9f943f060c.zip |
ospfd: clarify indentation and comments in ospf_lsa_maxage_delete
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Acked-by: Feng Lu <lu.feng@6wind.com>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ospfd')
-rw-r--r-- | ospfd/ospf_lsa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ospfd/ospf_lsa.c b/ospfd/ospf_lsa.c index 270c1ea21..369655163 100644 --- a/ospfd/ospf_lsa.c +++ b/ospfd/ospf_lsa.c @@ -2915,9 +2915,9 @@ ospf_lsa_maxage_delete (struct ospf *ospf, struct ospf_lsa *lsa) UNSET_FLAG(lsa->flags, OSPF_LSA_IN_MAXAGE); ospf_lsa_unlock (&lsa); /* maxage_lsa */ rn->info = NULL; - route_unlock_node (rn); /* route_node_lookup */ + route_unlock_node (rn); /* unlock node because lsa is deleted */ } - route_unlock_node (rn); /* route_node_lookup */ + route_unlock_node (rn); /* route_node_lookup */ } } |