]> git.puffer.fish Git - mirror/frr.git/commit
isisd: gracefully handle spf error 6675/head
authorEmanuele Di Pascale <emanuele@voltanet.io>
Fri, 3 Jul 2020 14:55:28 +0000 (16:55 +0200)
committerEmanuele Di Pascale <emanuele@voltanet.io>
Mon, 6 Jul 2020 08:17:57 +0000 (10:17 +0200)
commit75750ccfce46b1cff072427a4f8ee94e5c95a885
treef8cf62ee93e806408224bab1f243d0c8f6cd97ae
parent4267c07425f7f6d8a554f0c2f7f8d7ba1a0e2208
isisd: gracefully handle spf error

the code in isis_spf_add2tent was asserting in case the vertex
we were trying to add was already present in the path or tent
trees. This however CAN happen if the user accidentally configures
the system Id of the area to the same value of an estabished
neighbor. Handle this more gracefully by logging and returning,
to prevent crashes.

Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
isisd/isis_spf.c