summaryrefslogtreecommitdiff
path: root/ripd/Makefile.am
diff options
context:
space:
mode:
authorJorge Boncompte [DTI2] <jorge@dti2.net>2012-05-07 16:53:07 +0000
committerDavid Lamparter <equinox@opensourcerouting.org>2012-05-22 20:35:47 +0200
commit6a4677b723b6f79997ca15ee202c36d528d3dfcf (patch)
treed1928cd0835791b91870bfb9e4fb9eea3c75b07b /ripd/Makefile.am
parent577ac57b78e0ee3cbc5afdb5f54a660bd0126136 (diff)
bgpd: optimize holdtime timer cancelling
* bgp_packet.c: (bgp_update_receive) for every update received we queue an event just to cancel the holdtime timer, done in bgp_fsm_update(). Instead cancel the timer directly an avoid a scheduling pass. This incidently fixes another problem found on a slow box, where thousands of events threads were queued, and run, but never freed, because they are moved to the unused list that grows without bounds. Signed-off-by: Jorge Boncompte [DTI2] <jorge@dti2.net> Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ripd/Makefile.am')
0 files changed, 0 insertions, 0 deletions