summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorFredi Raspall <fredi@voltanet.io>2021-04-24 00:01:41 +0200
committerFredi Raspall <fredi@voltanet.io>2021-05-01 15:52:10 +0200
commit7c3be15f3e8e554a3ce57eb1a3b69ea349c34f03 (patch)
tree7135c52369207dce9715508f886f721549e5cc03 /python
parent1af1ce4ebc9fef96ccf37913ac83793b5005981a (diff)
isisd: fix memory leak for non-freed spftrees
When enabling TI-LFA the forward SPF for neighbors adjacent to the PLR is computed. Later, when computing the PQ spaces, the reverse SPF trees for those adjacent neighbors affected by the protected interface are computed. When node protection is enabled, TI-LFA link protection is run immediately afterwards to compute repairs in case no node-protecting backup path exists. In this second run, the existing code tries to compute the reverse SPF tree for the same node, without freeing the SPF tree of the prior run. This patch fixes this by not computing the reverse SPF again, thus avoiding a memory leak and an unnecessary SPF run. Signed-off-by: Fredi Raspall <fredi@voltanet.io>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions