]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Locking: Add another locking level between service and protocol
authorKaterina Kubecova <katerina.kubecova@nic.cz>
Tue, 16 Sep 2025 09:38:47 +0000 (11:38 +0200)
committerMaria Matejka <mq@ucw.cz>
Thu, 13 Nov 2025 11:25:03 +0000 (12:25 +0100)
The BGP protocol needs a domain accessed from the protocols but
launching common services. This could have been done, theoretically,
by abusing the rtable and attrs levels, but that would require
having a loop on that level which we'd like to not do.

lib/locking.h

index 1679e88673a2d2a2d995f677dc6eb27aced3c8ee..6fb32e2989f85c0caa84732f4bf00679594862f8 100644 (file)
@@ -21,6 +21,7 @@ struct pool;
   meta, \
   control, \
   proto, \
+  subproto, \
   service, \
   rtable, \
   attrs, \