mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 08:50:26 +00:00
fabricd: never flood back through the incoming interface
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
This commit is contained in:
parent
3759776ccd
commit
37212c410d
@ -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)
|
void lsp_flood(struct isis_lsp *lsp, struct isis_circuit *circuit)
|
||||||
{
|
{
|
||||||
if (!fabricd) {
|
if (!fabricd)
|
||||||
lsp_set_all_srmflags(lsp, true);
|
lsp_set_all_srmflags(lsp, true);
|
||||||
if (circuit)
|
else
|
||||||
isis_tx_queue_del(circuit->tx_queue, lsp);
|
|
||||||
} else {
|
|
||||||
fabricd_lsp_flood(lsp);
|
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)
|
static int lsp_handle_adj_state_change(struct isis_adjacency *adj)
|
||||||
|
Loading…
Reference in New Issue
Block a user