]> git.puffer.fish Git - matthieu/frr.git/commit
isisd: remove assert from the TI-LFA repair list computation algorithm
authorRenato Westphal <renato@opensourcerouting.org>
Fri, 26 Feb 2021 16:37:12 +0000 (13:37 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Fri, 26 Feb 2021 18:54:01 +0000 (15:54 -0300)
commit5dd20c560e76fe02759c275139d64850721197dc
tree8f7f126ec5a020673a0cc24ed03f2bc31b8ed372
parentf691f2ebbdeb77cb6a9daacb62f2f57ec5ce8414
isisd: remove assert from the TI-LFA repair list computation algorithm

In some cases it's possible that the TI-LFA algorithms will try to
compute a SID repair list more than once for the same backup nexthop
[1]. This of course shouldn't be allowed, as a backup nexthop can't
have multiple label stacks. When that happens, we should just ignore
the new repair list if one is already applied, instead of asserting
and crashing the daemon.

[1] One scenario this can happen is when there's ECMP involving
different P-nodes in the PQ-space intersection.

Reported-by: Fredi Raspall <fredi@voltanet.io>
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
isisd/isis_lfa.c