diff options
author | paul <paul> | 2006-09-14 03:02:02 +0000 |
---|---|---|
committer | paul <paul> | 2006-09-14 03:02:02 +0000 |
commit | cfd72751ff624166c3dda42b5ec7c2405c4b91f1 (patch) | |
tree | 7c1a94c76f11affe654a96a708449c748f9e8755 /lib | |
parent | 29aa219ef8e95f49f09f8e90ae9336b02164e8bf (diff) | |
download | quagga-cfd72751ff624166c3dda42b5ec7c2405c4b91f1.tar.bz2 quagga-cfd72751ff624166c3dda42b5ec7c2405c4b91f1.tar.xz |
[bgpd] simplify peer refcounts, squash slow peer leak
2006-09-14 Paul Jakma <paul.jakma@sun.com>
* (general) fix the peer refcount issue exposed by previous, by
just removing refcounting of peer threads, which is mostly
senseless as they're references leading from struct peer,
which peer_free cancels anyway. No need to muck around..
* bgp_fsm.h: Just remove the refcounting from the various
TIMER/READ/WRITE/EVENT ON/OFF/ADD macros.
* bgp_fsm.c: (bgp_stop) use BGP_EVENT_FLUSH, no refcounts attached
to events anymore.
(bgp_event) remove peer_unlock, events not refcounted.
* bgpd.c: (peer_free) flush events before free.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions