]> git.proxmox.com Git - mirror_frr.git/commit
ospfd: use a new vertex list for every SPF run
authorGalaxyGorilla <sascha@netdef.org>
Tue, 25 Aug 2020 14:13:08 +0000 (14:13 +0000)
committerGalaxyGorilla <sascha@netdef.org>
Thu, 27 Aug 2020 09:05:51 +0000 (09:05 +0000)
commit81443a283b6ec6f90249f594aad68d2d711e0805
tree919d89b48c0b71f39667cf0082dffd1df27e892e
parent4519ba13f9aaa5a0ddee503063f6e3a94c46c58c
ospfd: use a new vertex list for every SPF run

In the context of TI-LFA it is necessary to have multiple
representations of SPFs for so called P and Q spaces. Hence it makes
sense to start with fresh vertex lists, and only delete them when
the SPF calculation is not a 'dry run'.

Signed-off-by: GalaxyGorilla <sascha@netdef.org>
ospfd/ospf_spf.c
ospfd/ospf_spf.h
ospfd/ospfd.h