summaryrefslogtreecommitdiff
path: root/src/tools/echo/echo_server.c
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2017-09-24 21:43:05 +0200
committerdimitri staessens <[email protected]>2017-09-24 22:00:20 +0200
commita8ec5017e0a4452f520c90f68dc049d28a922690 (patch)
treef15df5de41e270829f3cbca9e876d15e39fd1781 /src/tools/echo/echo_server.c
parentff5063ad0e7902ce59864a466bd9d8d606d788e4 (diff)
downloadouroboros-a8ec5017e0a4452f520c90f68dc049d28a922690.tar.gz
ouroboros-a8ec5017e0a4452f520c90f68dc049d28a922690.zip
ipcpd: Fix deadlock in DHT
The lookup_update was waiting for the LU_INIT state to resolve under dht->lock which prevented that update. This PR fixes this bug, but leaves a (very rare) bug when the lookup_destroy is called while the lookup_update is waiting for the LU_INIT state to resolve. The solution also is a (harmless) lock inversion, but this is also not the best. Fixes #51 Fixes #52
Diffstat (limited to 'src/tools/echo/echo_server.c')
0 files changed, 0 insertions, 0 deletions