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>
diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c
index 587484f..c6cd018 100644
--- a/ospfd/ospf_packet.c
+++ b/ospfd/ospf_packet.c
@@ -3822,6 +3822,8 @@
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 */