From: Katerina Kubecova Date: Tue, 16 Sep 2025 09:38:47 +0000 (+0200) Subject: Locking: Add another locking level between service and protocol X-Git-Tag: v3.2.0~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c346b2f324a7922cd04735da6446077a69daa98b;p=thirdparty%2Fbird.git Locking: Add another locking level between service and protocol 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. --- diff --git a/lib/locking.h b/lib/locking.h index 1679e8867..6fb32e298 100644 --- a/lib/locking.h +++ b/lib/locking.h @@ -21,6 +21,7 @@ struct pool; meta, \ control, \ proto, \ + subproto, \ service, \ rtable, \ attrs, \