mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 11:44:16 +00:00
nhrpd: fixes core dump on shutdown
When nhrpd is shutdown via nhrp_request_stop() the shutdown
sequence was not handling the case where there are active
shortcut routes installed. The zebra client and shortcut rib
were being cleaned up before vrf_terminate() had an opportunity
to delete the active routes.
Signed-off-by: dleroy <dleroy@labn.net>
(cherry picked from commit a4ee976273
)
This commit is contained in:
parent
e1170c6f0c
commit
a3f4313cf2
@ -83,13 +83,13 @@ static void nhrp_request_stop(void)
|
|||||||
debugf(NHRP_DEBUG_COMMON, "Exiting...");
|
debugf(NHRP_DEBUG_COMMON, "Exiting...");
|
||||||
frr_early_fini();
|
frr_early_fini();
|
||||||
|
|
||||||
nhrp_shortcut_terminate();
|
vrf_terminate();
|
||||||
nhrp_nhs_terminate();
|
nhrp_nhs_terminate();
|
||||||
nhrp_zebra_terminate();
|
nhrp_zebra_terminate();
|
||||||
vici_terminate();
|
vici_terminate();
|
||||||
evmgr_terminate();
|
evmgr_terminate();
|
||||||
vrf_terminate();
|
|
||||||
nhrp_vc_terminate();
|
nhrp_vc_terminate();
|
||||||
|
nhrp_shortcut_terminate();
|
||||||
|
|
||||||
debugf(NHRP_DEBUG_COMMON, "Done.");
|
debugf(NHRP_DEBUG_COMMON, "Done.");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user