]> git.puffer.fish Git - mirror/frr.git/commit
isisd: avoid fast-reroute on down adjacency when the interface is down
authorLouis Scalbert <louis.scalbert@6wind.com>
Fri, 20 May 2022 13:29:21 +0000 (15:29 +0200)
committerLouis Scalbert <louis.scalbert@6wind.com>
Tue, 24 May 2022 08:05:49 +0000 (10:05 +0200)
commit08e4960ab48c1c9e4227e40b286d5cbc4ac581f0
treeaeafcaad82ddf15f69d3c080ee02cc869264115c
parent62e458278b3d261f492ffeac7ed70b32272a43dd
isisd: avoid fast-reroute on down adjacency when the interface is down

When an IS-IS interface is coming down, fast-reroute may be triggered
twice: a first time after the detection of the interface down event and
a second time after the detection of the adjacency down (because of the
expiration of the ISIS Hello or BFD timers).

Avoid a BFD down event from running fast-reroute another time if the
interface was already detected down.

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
isisd/isis_adjacency.c
isisd/isis_circuit.c
isisd/isis_circuit.h