1. 10 Apr, 2019 12 commits
  2. 09 Apr, 2019 8 commits
  3. 06 Apr, 2019 4 commits
    • Evan Hunt's avatar
      Merge branch '973-pause-dbiterator-in-rpz' into 'master' · 27d788cf
      Evan Hunt authored
      Fix deadlock in RPZ update code.
      
      Closes #973
      
      See merge request !1770
      27d788cf
    • Witold Krecicki's avatar
      Fix deadlock in RPZ update code. · 06021b35
      Witold Krecicki authored
      In dns_rpz_update_from_db we call setup_update which creates the db
      iterator and calls dns_dbiterator_first. This unpauses the iterator and
      might cause db->tree_lock to be acquired. We then do isc_task_send(...)
      on an event to do quantum_update, which (correctly) after each iteration
      calls dns_dbiterator_pause, and re-isc_task_sends itself.
      
      That's an obvious bug, as we're holding a lock over an async task send -
      if a task requesting write (e.g. prune_tree) is scheduled on the same
      workers queue as update_quantum but before it, it will wait for the
      write lock indefinitely, resulting in a deadlock.
      
      To fix it we have to pause dbiterator in setup_update.
      06021b35
    • Evan Hunt's avatar
      Merge branch 'placeholder' into 'master' · b22a5b6f
      Evan Hunt authored
      placeholder
      
      See merge request !1771
      b22a5b6f
    • Evan Hunt's avatar
      placeholder · 610d13b4
      Evan Hunt authored
      610d13b4
  4. 03 Apr, 2019 2 commits
  5. 29 Mar, 2019 3 commits
  6. 26 Mar, 2019 6 commits
  7. 22 Mar, 2019 5 commits