diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-02-11 13:19:14 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-02-11 13:19:14 +0100 |
commit | 051da24eef4f877140f9905b0416e424589484e8 (patch) | |
tree | 3bea252de2ad2cf9814c508a8cbb84d57c7b57fa /eigrpd/eigrp_topology.c | |
parent | eigrp: Make the eigrp_interface have a prefix instead of a *prefix (diff) | |
download | frr-051da24eef4f877140f9905b0416e424589484e8.tar.xz frr-051da24eef4f877140f9905b0416e424589484e8.zip |
eigrpd: Correctly handle the ref-count in a couple of spots
The ref count for the eigrp topology table was incorrect in a couple
of spots. Let's clean it up.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'eigrpd/eigrp_topology.c')
-rw-r--r-- | eigrpd/eigrp_topology.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eigrpd/eigrp_topology.c b/eigrpd/eigrp_topology.c index 23f5a705e..e861cdb33 100644 --- a/eigrpd/eigrp_topology.c +++ b/eigrpd/eigrp_topology.c @@ -141,10 +141,10 @@ void eigrp_prefix_entry_add(struct route_table *topology, __PRETTY_FUNCTION__, prefix2str(pe->destination, buf, sizeof(buf))); } + route_unlock_node(rn); } rn->info = pe; - route_lock_node(rn); } /* |