BIND 10 #2459: call to getCachedZoneWriter must be protected by mutex

BIND 10 Development do-not-reply at isc.org
Fri Nov 9 04:04:28 UTC 2012


#2459: call to getCachedZoneWriter must be protected by mutex
-------------------------------------+-------------------------------------
                   Reporter:         |                 Owner:  jinmei
  jinmei                             |                Status:  reviewing
                       Type:         |             Milestone:
  defect                             |  Sprint-20121120
                   Priority:         |            Resolution:
  medium                             |             Sensitive:  0
                  Component:         |           Sub-Project:  DNS
  b10-auth                           |  Estimated Difficulty:  3
                   Keywords:         |           Total Hours:  0
            Defect Severity:  High   |
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
Changes (by muks):

 * owner:  muks => jinmei


Comment:

 The code change itself looks fine to me, and `make check` (with the
 updated lock counts) passes. Lettuce also passes (though I suppose these
 don't test the specific problem).

 I see that `doLoadZone()` grabs a lock on this mutex before calling
 `getCachedZoneWriter()`. Where does the main thread lock this mutex?

-- 
Ticket URL: <http://bind10.isc.org/ticket/2459#comment:8>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list