]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Channel: postpone the export event when stopping
authorMaria Matejka <mq@ucw.cz>
Mon, 10 Jun 2024 08:39:11 +0000 (10:39 +0200)
committerMaria Matejka <mq@ucw.cz>
Wed, 12 Jun 2024 12:48:33 +0000 (14:48 +0200)
nest/proto.c

index 533f1ed4b8bfeb12a98a13665dc25eeeb6cbacd4..47ce10d82b0db15184c6ed3123907116aa3e3cff 100644 (file)
@@ -898,6 +898,8 @@ channel_stop_export(struct channel *c)
       else
        rt_export_unsubscribe(all, &c->out_req);
 
+      ev_postpone(&c->out_event);
+
       bmap_free(&c->export_accepted_map);
       bmap_free(&c->export_rejected_map);