[quagga-dev 8032] Re: [PATCH] bgpd: allow overwrite of existing aggregate-address parameter

G. Paul Ziemba pz-quagga-dev at ziemba.us
Mon Jun 14 16:33:10 BST 2010


robert at vyatta.com (Robert Bays) writes:

>Second, is there a reason bgp_unlock_node(rn) is being called twice in a
>row in the various bgp_static/aggregate/distance_unset() functions?

bgp_node_get() and bgp_node_lookup() increment the lock count. The
dual calls to bgp_unlock_node() decrement it, once to undo the effect
of bgp_node_get/bgp_node_lookup and a second time to account for the
removal of rn->info.
-- 
G. Paul Ziemba
FreeBSD unix:
 8:31AM  up 11 days, 12 mins, 21 users, load averages: 0.24, 0.30, 0.25



More information about the Quagga-dev mailing list