Searched hist:250951 (Results 1 - 1 of 1) sorted by relevance
/freebsd-10.2-release/sys/kern/ | ||
H A D | kern_alq.c | diff 251838 Mon Jun 17 09:57:16 MDT 2013 lstewart 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 diff 250951 Fri May 24 00:57:07 MDT 2013 lstewart Ensure alq's shutdown_pre_sync event handler is deregistered on module unload to avoid a dangling pointer and eventual panic on system shutdown. Reported by: Ali <comnetboy at gmail.com> Tested by: Ali <comnetboy at gmail.com> MFC after: 1 week |
Completed in 57 milliseconds