mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-06 03:56:57 +00:00
Merge pull request #4114 from chiragshah6/evpn_dev2
zebra: avoid removing node twice from rb_tree
This commit is contained in:
commit
a5f42f7dea
@ -202,10 +202,8 @@ void zebra_router_terminate(void)
|
||||
{
|
||||
struct zebra_router_table *zrt, *tmp;
|
||||
|
||||
RB_FOREACH_SAFE (zrt, zebra_router_table_head, &zrouter.tables, tmp) {
|
||||
RB_REMOVE(zebra_router_table_head, &zrouter.tables, zrt);
|
||||
RB_FOREACH_SAFE (zrt, zebra_router_table_head, &zrouter.tables, tmp)
|
||||
zebra_router_free_table(zrt);
|
||||
}
|
||||
|
||||
work_queue_free_and_null(&zrouter.ribq);
|
||||
meta_queue_free(zrouter.mq);
|
||||
|
Loading…
Reference in New Issue
Block a user