diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2017-04-21 15:41:14 -0300 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2017-06-05 12:23:59 -0300 |
| commit | a8e8b867974cfbc37aeabe34b067f10448690bd2 (patch) | |
| tree | 888d8270c507432ca1afa78751128c095bf6d77b /lib/workqueue.c | |
| parent | 9b2868bc019b15a878b3b08d165194b8c00b0e63 (diff) | |
ldpd: be more conservative with labels
On unstable networks, routes can be lost and relearned very often. If
we deallocate the input label every time a route is lost and allocate
a new one when the route is relearned, a lot of changes are made in vain.
This patch introduces a logic in which labels are preserved for at least
five minutes before being deallocated by the LIB garbage collector. This
is consistent with what other implementations do.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/workqueue.c')
0 files changed, 0 insertions, 0 deletions
