1. 06 Jul, 2020 2 commits
  2. 02 Jul, 2020 2 commits
  3. 01 Jul, 2020 5 commits
  4. 30 Jun, 2020 1 commit
  5. 29 Jun, 2020 1 commit
  6. 26 Jun, 2020 1 commit
  7. 25 Jun, 2020 2 commits
  8. 23 Jun, 2020 2 commits
  9. 22 Jun, 2020 1 commit
  10. 19 Jun, 2020 2 commits
  11. 18 Jun, 2020 5 commits
  12. 17 Jun, 2020 1 commit
  13. 11 Jun, 2020 1 commit
  14. 10 Jun, 2020 1 commit
    • Witold Krecicki's avatar
      Fix a race in TCP accepting. · 85d8e4bf
      Witold Krecicki authored
      There's a possibility of a race in TCP accepting code:
      T1 accepts a connection C1
      T2 accepts a connection C2
      T1 tries to accept a connection C3, but we hit a quota,
         isc_quota_cb_init() sets quota_accept_cb for the socket,
         we return from accept_connection
      T2 drops C2, but we race in quota_release with accepting C3 so
         we don't see quota->waiting is > 0, we don't launch the callback
      T1 accepts a connection C4, we are able to get the quota we clear
         the quota_accept_cb from sock->quotacb
      T1 drops C1, tries to call the callback which is zeroed, sigsegv.
      85d8e4bf
  15. 05 Jun, 2020 3 commits
  16. 04 Jun, 2020 5 commits
  17. 03 Jun, 2020 3 commits
  18. 02 Jun, 2020 2 commits
    • Matthijs Mekking's avatar
      Retire predecessor when creating successor · e71d6029
      Matthijs Mekking authored
      When creating the successor, the current active key (predecessor)
      should change its goal state to HIDDEN.
      
      Also add two useful debug logs in the keymgr_key_rollover function.
      e71d6029
    • Matthijs Mekking's avatar
      Fix bug in keymgr_key_has_successor · 0d578097
      Matthijs Mekking authored
      The logic in `keymgr_key_has_successor(key, keyring)` is flawed, it
      returns true if there is any key in the keyring that has a successor,
      while what we really want here is to make sure that the given key
      has a successor in the given keyring.
      
      Rather than relying on `keymgr_key_exists_with_state`, walk the
      list of keys in the keyring and check if the key is a successor of
      the given predecessor key.
      0d578097