forked from Mirror/frr
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:
parent
e387dfd18d
commit
8afee5c172
|
@ -2915,9 +2915,9 @@ ospf_lsa_maxage_delete (struct ospf *ospf, struct ospf_lsa *lsa)
|
||||||
UNSET_FLAG(lsa->flags, OSPF_LSA_IN_MAXAGE);
|
UNSET_FLAG(lsa->flags, OSPF_LSA_IN_MAXAGE);
|
||||||
ospf_lsa_unlock (&lsa); /* maxage_lsa */
|
ospf_lsa_unlock (&lsa); /* maxage_lsa */
|
||||||
rn->info = NULL;
|
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 */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue