]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Pipe runs in parallel.
authorMaria Matejka <mq@ucw.cz>
Mon, 18 Oct 2021 19:22:58 +0000 (21:22 +0200)
committerMaria Matejka <mq@ucw.cz>
Mon, 22 Nov 2021 18:05:44 +0000 (19:05 +0100)
nest/proto.c
proto/pipe/config.Y

index 4ae0cbfd4c4b5d7d2b9e4d1121eced1bd42cdcef..623585f1d0ab9171985309abd249bfd80a201ee1 100644 (file)
@@ -1413,6 +1413,7 @@ proto_event(void *ptr)
   {
     if (p->proto == &proto_unix_iface)
       if_flush_ifaces(p);
+
     p->do_stop = 0;
   }
 
index c869de9f72754e614da9d2231cae92d9c6c065b6..fc08445ff3579c96e2ab06e780d286571c74f51c 100644 (file)
@@ -25,6 +25,7 @@ proto: pipe_proto '}' { this_channel = NULL; }  ;
 pipe_proto_start: proto_start PIPE
 {
   this_proto = proto_config_new(&proto_pipe, $1);
+  this_proto->loop_order = DOMAIN_ORDER(proto);
   PIPE_CFG->max_generation = 16;
 }
 proto_name