summaryrefslogtreecommitdiff
path: root/src/lib/md5.c
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-09-24 21:43:05 +0200
committerdimitri staessens <dimitri.staessens@ugent.be>2017-09-24 22:00:20 +0200
commita8ec5017e0a4452f520c90f68dc049d28a922690 (patch)
treef15df5de41e270829f3cbca9e876d15e39fd1781 /src/lib/md5.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/lib/md5.c')
0 files changed, 0 insertions, 0 deletions