]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Note bucket lock requirements.
authorMark Andrews <marka@isc.org>
Thu, 5 Dec 2019 04:25:21 +0000 (15:25 +1100)
committerMark Andrews <marka@isc.org>
Wed, 11 Dec 2019 00:08:03 +0000 (11:08 +1100)
(cherry picked from commit 13aaeaa06f79e520a0b18a431dfe449d2edf4476)

lib/dns/resolver.c

index 7d7798058c3b0c30b35ba194268e9762772533b9..a9d1df08182fe77e6973d6ea1723124cf110d346 100644 (file)
@@ -307,7 +307,7 @@ struct fetchctx {
        /*%
         * The number of events we're waiting for.
         */
-       unsigned int                    pending;
+       unsigned int                    pending;        /* Bucket lock. */
 
        /*%
         * The number of times we've "restarted" the current
@@ -336,7 +336,7 @@ struct fetchctx {
        /*%
         * Number of queries that reference this context.
         */
-       unsigned int                    nqueries;
+       unsigned int                    nqueries;       /* Bucket lock. */
 
        /*%
         * The reason to print when logging a successful