summaryrefslogtreecommitdiffstats
path: root/isisd/isis_lsp.c
diff options
context:
space:
mode:
authorChristian Franke <chris@opensourcerouting.org>2018-11-09 16:40:17 +0100
committerChristian Franke <chris@opensourcerouting.org>2018-11-10 18:03:04 +0100
commit37212c410d227d44c1d6cbbf8312ccbe81a1643b (patch)
treed37b14fc3c627c1009b76bcb5d400f69e558a47f /isisd/isis_lsp.c
parentMerge pull request #3298 from ak503/mpls_te2 (diff)
downloadfrr-37212c410d227d44c1d6cbbf8312ccbe81a1643b.tar.xz
frr-37212c410d227d44c1d6cbbf8312ccbe81a1643b.zip
fabricd: never flood back through the incoming interface
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Diffstat (limited to 'isisd/isis_lsp.c')
-rw-r--r--isisd/isis_lsp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/isisd/isis_lsp.c b/isisd/isis_lsp.c
index bb090f42e..4f4d0f717 100644
--- a/isisd/isis_lsp.c
+++ b/isisd/isis_lsp.c
@@ -1999,13 +1999,13 @@ void lsp_set_all_srmflags(struct isis_lsp *lsp, bool set)
void lsp_flood(struct isis_lsp *lsp, struct isis_circuit *circuit)
{
- if (!fabricd) {
+ if (!fabricd)
lsp_set_all_srmflags(lsp, true);
- if (circuit)
- isis_tx_queue_del(circuit->tx_queue, lsp);
- } else {
+ else
fabricd_lsp_flood(lsp);
- }
+
+ if (circuit)
+ isis_tx_queue_del(circuit->tx_queue, lsp);
}
static int lsp_handle_adj_state_change(struct isis_adjacency *adj)