]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
WIP mrtload: loading routes and destroing data when state of peer changed to Idle
authorKaterina Kubecova <katerina.kubecova@nic.cz>
Tue, 8 Jul 2025 09:13:58 +0000 (11:13 +0200)
committerKaterina Kubecova <katerina.kubecova@nic.cz>
Tue, 8 Jul 2025 09:13:58 +0000 (11:13 +0200)
proto/mrt/mrt_load.c

index fae9ead0b341e0c9224f1ecf6d4dcc3817a73867..7629abdb534381c056b1a76da96c088d05b8a667 100644 (file)
@@ -425,6 +425,8 @@ mrtload_shutdown(struct proto *P)
   }
   FIB_WALK_END;
 
+  HASH_FREE(p->ctx_hash);
+
   proto_notify_state(&p->p, PS_DOWN);
   return PS_DOWN;
 }