Skip to content
  • Witold Kręcicki's avatar
    Fix possible deadlock in unix/socket.c · 0eec2594
    Witold Kręcicki authored
    In process_fd we lock sock->lock and then internal_accept locks mgr->lock,
    in isc_sockmgr_render* functions we lock mgr->lock and then lock sock->lock,
    that can cause a deadlock when accessing stats. Unlock sock->lock early in
    all the internal_{send,recv,connect,accept} functions instead of late
    in process_fd.
    0eec2594
To find the state of this project's repository at the time of any of these versions, check out the tags.