summaryrefslogtreecommitdiffstats
path: root/isisd/fabricd.c
diff options
context:
space:
mode:
authorRodny Molina <rmolina@linkedin.com>2018-11-27 02:21:31 +0100
committerRodny Molina <rmolina@linkedin.com>2018-12-07 20:51:05 +0100
commite5b0aaf16bbe9f46645c07ed3c00b5c97733723a (patch)
treee96a40de195dbd1a5e9316f814eb23b3bf4bca31 /isisd/fabricd.c
parentisisd: Provide statistics over number of generated purges (diff)
downloadfrr-e5b0aaf16bbe9f46645c07ed3c00b5c97733723a.tar.xz
frr-e5b0aaf16bbe9f46645c07ed3c00b5c97733723a.zip
fabricd: Disabling OpenFabric optimization to avoid considering T0 devices only as DNRs
Signed-off-by: Rodny Molina <rmolina@linkedin.com>
Diffstat (limited to 'isisd/fabricd.c')
-rw-r--r--isisd/fabricd.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/isisd/fabricd.c b/isisd/fabricd.c
index 302b7e17e..152bfb528 100644
--- a/isisd/fabricd.c
+++ b/isisd/fabricd.c
@@ -645,25 +645,9 @@ void fabricd_lsp_flood(struct isis_lsp *lsp, struct isis_circuit *circuit)
void *cursor = NULL;
struct neighbor_entry *n;
- /* Mark all elements in NL as present and move T0s into DNR */
+ /* Mark all elements in NL as present */
while (!skiplist_next(f->neighbors, NULL, (void **)&n, &cursor)) {
n->present = true;
-
- struct isis_lsp *node_lsp = lsp_for_neighbor(f, n);
- if (!node_lsp
- || !node_lsp->tlvs
- || !node_lsp->tlvs->spine_leaf
- || !node_lsp->tlvs->spine_leaf->has_tier
- || node_lsp->tlvs->spine_leaf->tier != 0) {
- continue;
- }
-
- if (isis->debugs & DEBUG_FLOODING) {
- zlog_debug("Moving %s to DNR because it's T0",
- rawlspid_print(node_lsp->hdr.lsp_id));
- }
-
- move_to_queue(lsp, n, TX_LSP_CIRCUIT_SCOPED, circuit);
}
/* Mark all elements in NN as present */