From 902212c3f3df5198a6cdf2c95e4686790e437f6f Mon Sep 17 00:00:00 2001 From: paul Date: Sun, 5 Feb 2006 17:51:19 +0000 Subject: [bgpd] Fix peer prefix counts and make it slightly more robust 2006-02-05 Paul Jakma * bgp_route.h: Add BGP_INFO_COUNTED to track whether prefix has been counted or not. * bgp_route.c: (bgp_pcount_{inc,dec}rement) new helpers, to centralise inc/dec of prefix-count, (bgp_rib_remove) Remove pcount decrement, use helper. (bgp_rib_withdraw) ditto, additionally use previous function too. (bgp_update_main) Use pcount helpers. (bgp_clear_route_node) ditto, aslo REMOVED routes don't need clearing. --- bgpd/ChangeLog | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'bgpd/ChangeLog') diff --git a/bgpd/ChangeLog b/bgpd/ChangeLog index 714de1d3..8e2a397d 100644 --- a/bgpd/ChangeLog +++ b/bgpd/ChangeLog @@ -1,3 +1,16 @@ +2006-02-05 Paul Jakma + + * bgp_route.h: Add BGP_INFO_COUNTED to track whether + prefix has been counted or not. + * bgp_route.c: (bgp_pcount_{inc,dec}rement) new helpers, to + centralise inc/dec of prefix-count, + (bgp_rib_remove) Remove pcount decrement, use helper. + (bgp_rib_withdraw) ditto, additionally use previous function + too. + (bgp_update_main) Use pcount helpers. + (bgp_clear_route_node) ditto, aslo REMOVED routes don't need + clearing. + 2006-02-02 Paul Jakma * bgp_route.c: (bgp_{clear_node,process}_queue_init) delay -- cgit v1.2.1