summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_zebra.c
diff options
context:
space:
mode:
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>2010-03-08 13:58:09 +0100
committerDaniel Walton <dwalton@cumulusnetworks.com>2016-05-26 17:33:30 +0200
commitf4936b2aabd7e94f545b2351bc83c954ba8beea3 (patch)
treeb8eeaddf0da734651be38e5592a9efe8bb81c204 /ospfd/ospf_zebra.c
parentospfd: Self nbrs needs to be rebuilt when router ID changes. (diff)
downloadfrr-f4936b2aabd7e94f545b2351bc83c954ba8beea3.tar.xz
frr-f4936b2aabd7e94f545b2351bc83c954ba8beea3.zip
ospfd: add missing unlock for ospf_interface_address_delete()
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se> Acked-by: Feng Lu <lu.feng@6wind.com> (cherry picked from commit fbb6c8650344fe72d39f538c681659e8b76a39d0)
Diffstat (limited to 'ospfd/ospf_zebra.c')
-rw-r--r--ospfd/ospf_zebra.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ospfd/ospf_zebra.c b/ospfd/ospf_zebra.c
index ffdfd750d..c7bf38eb6 100644
--- a/ospfd/ospf_zebra.c
+++ b/ospfd/ospf_zebra.c
@@ -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);