mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-09 09:47:11 +00:00
isisd: fix spftree_area_del typo causing SEGV
spftree_area_del didn't clear the IPv6 L2 spftree due to a simple typo, leading to a SEGV on shutdown when the still-armed timer would try to run an IPv6 L2 SPF calculation with its data free'd already. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This commit is contained in:
parent
b72f345d2e
commit
de543de3d7
@ -365,7 +365,7 @@ spftree_area_del (struct isis_area *area)
|
|||||||
area->spftree[1] = NULL;
|
area->spftree[1] = NULL;
|
||||||
}
|
}
|
||||||
#ifdef HAVE_IPV6
|
#ifdef HAVE_IPV6
|
||||||
if (area->spftree[1] != NULL)
|
if (area->spftree6[1] != NULL)
|
||||||
{
|
{
|
||||||
isis_spftree_del (area->spftree6[1]);
|
isis_spftree_del (area->spftree6[1]);
|
||||||
area->spftree6[1] = NULL;
|
area->spftree6[1] = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user