mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 04:29:33 +00:00
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:
parent
d8d939a61e
commit
326a0eb09c
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user