diff options
author | Christian Franke <chris@opensourcerouting.org> | 2014-01-08 00:40:16 +0100 |
---|---|---|
committer | Christian Franke <chris@opensourcerouting.org> | 2014-01-08 00:49:28 +0100 |
commit | 77f2a04099a7fd5107d11a5b0dcd3b0dc73f9bea (patch) | |
tree | e33a109fe4310593f2b296ef49f91d4ba6a6ad63 /ospf6d/ospf6_snmp.c | |
parent | b9fb5b5bd7da0be11d92504de4f43bf3734726f4 (diff) |
isisd: add a slight delay to lsp_regenerate_schedule
isisd implements a holdoff interval and will refrain from regenerating
an lsp if the difference between the current time and its last refresh
is less than the holdoff interval, but instead, it will schedule a timer
to regenerate the lsp after the holdoff interval has passed.
This implementation has one disadvantage in the case where there is a
succession of calls to lsp_regenerate_schedule. In such a case, the
first call will trigger an immediate regeneration of the lsp, while the
other calls will only schedule the regeneration timer. This leads to
cases where it takes holdoff interval time for information to propagate,
just because the information was only available e.g. at the second call
of lsp_regenerate_schedule in such a succession of calls.
By not immediately regenerating an lsp if the last generation time
is sufficiently long ago, but instead scheduling the regeneration with a
very small delay, we allow all information from such a succession of
calls to be considered.
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Diffstat (limited to 'ospf6d/ospf6_snmp.c')
0 files changed, 0 insertions, 0 deletions