diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-01-06 15:58:21 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-01-06 15:58:21 +0100 |
commit | 3b14d86eed3c042db718c7e006ca5299f473c88e (patch) | |
tree | 4efde6b2d77f5229ace3375da3471b0db1daa695 /bgpd/bgp_updgrp_adv.c | |
parent | Merge pull request #43 from pguibert6WIND/frr_6wind_mpbgpgracefulrestart_1 (diff) | |
parent | Merge pull request #41 from donaldsharp/quagga_to_frr (diff) | |
download | frr-3b14d86eed3c042db718c7e006ca5299f473c88e.tar.xz frr-3b14d86eed3c042db718c7e006ca5299f473c88e.zip |
Merge remote-tracking branch 'origin/stable/2.0'
Diffstat (limited to 'bgpd/bgp_updgrp_adv.c')
-rw-r--r-- | bgpd/bgp_updgrp_adv.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bgpd/bgp_updgrp_adv.c b/bgpd/bgp_updgrp_adv.c index 9a103de91..df154d976 100644 --- a/bgpd/bgp_updgrp_adv.c +++ b/bgpd/bgp_updgrp_adv.c @@ -573,8 +573,9 @@ subgroup_clear_table (struct update_subgroup *subgrp) SUBGRP_FOREACH_ADJ_SAFE (subgrp, aout, taout) { - bgp_adj_out_remove_subgroup (aout->rn, aout, subgrp); - bgp_unlock_node (aout->rn); + struct bgp_node *rn = aout->rn; + bgp_adj_out_remove_subgroup (rn, aout, subgrp); + bgp_unlock_node (rn); } } |