diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-06-03 16:45:41 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-06-03 16:45:41 -0700 |
commit | f3781dba5ac9470e3d7412b8b2f08622b0af1ec0 (patch) | |
tree | dead2fd3f3899367293b6d27d907a41d8ab51d49 | |
parent | 3ba765130998aa5672a8102676d83a23dd1dba35 (diff) | |
parent | 546eb2d6c881d6fca7813807ab809e939afed289 (diff) | |
download | quagga-f3781dba5ac9470e3d7412b8b2f08622b0af1ec0.tar.bz2 quagga-f3781dba5ac9470e3d7412b8b2f08622b0af1ec0.tar.xz |
Merge branch 'jenner' of 192.168.100.1:git/vyatta-quagga into jenner
-rw-r--r-- | ospfd/ospfd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ospfd/ospfd.c b/ospfd/ospfd.c index 7c2698dc..965d31f9 100644 --- a/ospfd/ospfd.c +++ b/ospfd/ospfd.c @@ -782,12 +782,13 @@ ospf_network_unset (struct ospf *ospf, struct prefix_ipv4 *p, return 0; network = rn->info; + route_unlock_node (rn); if (!IPV4_ADDR_SAME (&area_id, &network->area_id)) return 0; ospf_network_free (ospf, rn->info); rn->info = NULL; - route_unlock_node (rn); + route_unlock_node (rn); /* initial reference */ /* Find interfaces that not configured already. */ for (ALL_LIST_ELEMENTS (ospf->oiflist, node, nnode, oi)) |