]> git.puffer.fish Git - mirror/frr.git/commitdiff
ospfd: add missing unlock for ospf_interface_address_delete()
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
Mon, 8 Mar 2010 12:58:09 +0000 (13:58 +0100)
committerDaniel Walton <dwalton@cumulusnetworks.com>
Thu, 26 May 2016 15:33:30 +0000 (15:33 +0000)
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Acked-by: Feng Lu <lu.feng@6wind.com>
(cherry picked from commit fbb6c8650344fe72d39f538c681659e8b76a39d0)

ospfd/ospf_zebra.c

index ffdfd750d2bfbebe41d46224389e12770fbcfdfe..c7bf38eb68e6405d852165248970fbf709fd8190 100644 (file)
@@ -315,6 +315,7 @@ ospf_interface_address_delete (int command, struct zclient *zclient,
 
   assert (rn->info);
   oi = rn->info;
+  route_unlock_node (rn);
 
   /* Call interface hook functions to clean up */
   ospf_if_free (oi);