mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-11-03 06:28:33 +00:00
zebra: On shutdown, cleanup dplane providers
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
d3adb8a8f6
commit
65b65f47c8
@ -7364,6 +7364,13 @@ void zebra_dplane_shutdown(void)
|
||||
}
|
||||
|
||||
/* TODO -- Clean-up provider objects */
|
||||
dp = dplane_prov_list_first(&zdplane_info.dg_providers);
|
||||
while (dp) {
|
||||
dplane_prov_list_del(&zdplane_info.dg_providers, dp);
|
||||
XFREE(MTYPE_DP_PROV, dp);
|
||||
|
||||
dp = dplane_prov_list_first(&zdplane_info.dg_providers);
|
||||
}
|
||||
|
||||
/* TODO -- Clean queue(s), free memory */
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user