bgpd/bgp_main.c | 10 ++++++ bgpd/bgp_nexthop.c | 22 ++++++++++++--- bgpd/bgp_route.c | 77 +++++++++++++++++++++++++++++++---------------------- lib/memtypes.c | 1 4 files changed, 74 insertions(+), 36 deletions(-)
New commits: commit 7731fc71c2d8f80524839b0fbc8be9d1edd20e86 Author: Chris Caputo <[email protected]> Date: Tue Jul 27 16:28:55 2010 +0000 bgpd: fix bgp_node locking issues * bgpd: Connected table locks were being locked but not unlocked, such that eventually a lock would exceed 2^31 and become negative, thus triggering an assert later on. * bgp_main.c: (bgp_exit) delete connected elements along with ifp's. * bgp_nexthop.c: (bgp_nexthop_lookup{,_ipv6}) add missing unlocks (bgp_multiaccess_check_v4) ditto (bgp_connected_{add,delete}) Use a distinct memtype for bgp_connected_ref. (bgp_scan_finish) reset the nexthop cache to clean it up when bgpd exits * bgp_route.c: fix missing bgp_node unlocks * lib/memtype.c: (memory_list_bgp) add MTYPE_BGP_CONN * testing: has been tested for almost 2 months now. (cherry picked from commit 6c88b44dcb26b60bb1f93e5c387aa102019ed849) http://suva.vyatta.com/git/?p=vyatta-quagga.git;a=commitdiff;h=7731fc71c2d8f80524839b0fbc8be9d1edd20e86 _______________________________________________ svn mailing list [email protected] http://mailman.vyatta.com/mailman/listinfo/svn
