diff options
author | lstewart <lstewart@FreeBSD.org> | 2013-06-17 09:49:07 +0000 |
---|---|---|
committer | lstewart <lstewart@FreeBSD.org> | 2013-06-17 09:49:07 +0000 |
commit | 4f358ad954443ab3df8ac3ddda5deb7fba336584 (patch) | |
tree | 5dea88510b2e37a46af34894f51d5fb71274d4ff /contrib/dialog/msgbox.c | |
parent | 95ba85598a3f78e22697c60c43da43d596b594e9 (diff) | |
download | FreeBSD-src-4f358ad954443ab3df8ac3ddda5deb7fba336584.zip FreeBSD-src-4f358ad954443ab3df8ac3ddda5deb7fba336584.tar.gz |
The fix committed in r250951 replaced the reported panic with a deadlock... gold
star for me. EVENTHANDLER_DEREGISTER() attempts to acquire the lock which is
held by the event handler framework while executing event handler functions,
leading to deadlock.
Move EVENTHANDLER_DEREGISTER() to alq_load_handler() and thus deregister the ALQ
shutdown_pre_sync handler at module unload time, which takes care of the
originally reported panic and fixes the deadlock introduced in r250951.
Reported by: Luiz Otavio O Souza
MFC after: 3 days
X-MFC with: 250951
Diffstat (limited to 'contrib/dialog/msgbox.c')
0 files changed, 0 insertions, 0 deletions