Commit d3adde04 authored by Ben Collins's avatar Ben Collins

[IEEE1394]: Fix for deadlock condition.

Submitted-by: Jim Radford
Signed-off-by: default avatarBen Collins <bcollins@debian.org>
parent 0d7b696f
...@@ -1502,6 +1502,10 @@ static int nodemgr_host_thread(void *__hi) ...@@ -1502,6 +1502,10 @@ static int nodemgr_host_thread(void *__hi)
* start the the waiting over again */ * start the the waiting over again */
while (!down_trylock(&hi->reset_sem)) while (!down_trylock(&hi->reset_sem))
i = 0; i = 0;
/* Check the kill_me again */
if (hi->kill_me)
goto caught_signal;
} }
if (!nodemgr_check_irm_capability(host, reset_cycles)) { if (!nodemgr_check_irm_capability(host, reset_cycles)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment