Skip to content
  • Michał Kępień's avatar
    Lock zone before checking whether its asynchronous load is already pending · 0e4fba2c
    Michał Kępień authored
    While this is not an issue in named, which only calls
    dns_zone_asyncload() from task-exclusive mode, this function is exported
    by libdns and thus may in theory be concurrently called for the same
    zone by multiple threads.  It also does not hurt to be consistent
    locking-wise with other DNS_ZONEFLG_LOADPENDING accesses.
    0e4fba2c