mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-19 17:03:19 +00:00
Merge pull request #3421 from pguibert6WIND/bgp_lp_finish_called_too_early
bgpd: delay destruction of label pool
This commit is contained in:
commit
3b2298e76b
@ -235,6 +235,9 @@ static __attribute__((__noreturn__)) void bgp_exit(int status)
|
||||
|
||||
bf_free(bm->rd_idspace);
|
||||
list_delete(&bm->bgp);
|
||||
|
||||
bgp_lp_finish();
|
||||
|
||||
memset(bm, 0, sizeof(*bm));
|
||||
|
||||
frr_fini();
|
||||
|
@ -7963,5 +7963,4 @@ void bgp_terminate(void)
|
||||
if (bm->t_rmap_update)
|
||||
BGP_TIMER_OFF(bm->t_rmap_update);
|
||||
|
||||
bgp_lp_finish();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user