ospfd: ospf_ls_upd_send() add missing unlock.

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Acked-by: Feng Lu <lu.feng@6wind.com>
(cherry picked from commit 4eaecdc403461fe59026e1ce3a217526d75eca25)
This commit is contained in:
Joakim Tjernlund 2010-03-08 13:58:13 +01:00 committed by Daniel Walton
parent d8d939a61e
commit 326a0eb09c

View File

@ -3879,6 +3879,8 @@ ospf_ls_upd_send (struct ospf_neighbor *nbr, struct list *update, int flag)
if (rn->info == NULL)
rn->info = list_new ();
else
route_unlock_node (rn);
for (ALL_LIST_ELEMENTS_RO (update, node, lsa))
listnode_add (rn->info, ospf_lsa_lock (lsa)); /* oi->ls_upd_queue */