]> git.puffer.fish Git - matthieu/frr.git/commit
isisd: update Node-SID flag dynamically
authorRenato Westphal <renato@opensourcerouting.org>
Thu, 27 Jul 2023 23:35:10 +0000 (20:35 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Sat, 29 Jul 2023 17:18:39 +0000 (14:18 -0300)
commite189d1ff1b17013bc06060065759552685982ada
tree014cc1e5128212690cd29558154fef0827c48305
parent824b1d299a32797279ede9275e30c6ad0fbc60ea
isisd: update Node-SID flag dynamically

Node-SIDs refer to Prefix-SIDs associated with host prefixes of
loopback addresses. As such, whenever an interface address is added
or deleted, all configured Prefix-SIDs must be reevaluated to check
if the N-flag needs to be set or unset.

This change fixes some race conditions in the TI-LFA topotest where
specific sequence of events could cause Prefix-SIDs to not have the
N-flag set when they should, resulting in various failures.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
isisd/isis_sr.c
isisd/isis_sr.h
isisd/isis_zebra.c