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>
This commit is contained in:
Christian Franke 2014-04-28 08:04:59 +00:00 committed by David Lamparter
parent e387dfd18d
commit 8afee5c172

View file

@ -2915,7 +2915,7 @@ 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 */
}