]> git.proxmox.com Git - mirror_frr.git/commit - isisd/isisd.h
isisd: delay lsp regeneration while events are still coming in
authorChristian Franke <chris@opensourcerouting.org>
Wed, 24 Oct 2018 05:19:22 +0000 (07:19 +0200)
committerChristian Franke <chris@opensourcerouting.org>
Wed, 24 Oct 2018 05:53:23 +0000 (07:53 +0200)
commitf93025e1a6e8249a888396efbadc98e27f217f88
treecf7c67b91bb9ec31a4c45c13ba12eafa767d0db3
parent9196731f9d13999e8358da953fa181cb021b4472
isisd: delay lsp regeneration while events are still coming in

When there is a stream of events coming in, where IS-IS learns
about a lot of updates, IS-IS would regenerate its LSPs before
the updates have been processed completely.

This causes suboptimal convergence because the intermediate state
will be flooded. Only after the configured `lsp_gen_interval`, a
new update with the correct and final state will be generated.

Resolve this by holding off LSP generation while there are still
events coming in.

Signed-off-by: Christian Franke <chris@opensourcerouting.org>
isisd/isis_lsp.c
isisd/isis_lsp.h
isisd/isisd.h