From a46b50daecf8b8dcf86d5cbcbf19f720b55a7b37 Mon Sep 17 00:00:00 2001 From: Emanuele Di Pascale Date: Wed, 19 Feb 2020 17:37:21 +0100 Subject: [PATCH] isisd: do not disable circuit on ifdown when zebra detects that an interface is gone, notify the circuit but do not disable it - the interface is still configured until it isn't. Without this fix, removing the interface in the kernel and then removing the circuit from the configuration would cause an assertion in isis_csm.c:78 Signed-off-by: Emanuele Di Pascale --- isisd/isis_circuit.c | 1 - 1 file changed, 1 deletion(-) diff --git a/isisd/isis_circuit.c b/isisd/isis_circuit.c index 8343f7d85f..e4152a8712 100644 --- a/isisd/isis_circuit.c +++ b/isisd/isis_circuit.c @@ -1386,7 +1386,6 @@ int isis_if_delete_hook(struct interface *ifp) if (ifp && ifp->info) { circuit = ifp->info; isis_csm_state_change(IF_DOWN_FROM_Z, circuit, circuit->area); - isis_csm_state_change(ISIS_DISABLE, circuit, circuit->area); } return 0; -- 2.39.5