public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2.4.23-pre8] ieee1394 nodemgr deadlock
@ 2003-10-26 16:49 Stelian Pop
  0 siblings, 0 replies; only message in thread
From: Stelian Pop @ 2003-10-26 16:49 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: marcelo.tosatti

Hi,

This patch was submitted here a while ago, has been ack'ed by 
Ben Collins but it still hasn't made it into the 2.4 tree.

Marcelo, please apply it, without this patch kudzu deadlocks
on every boot on my RedHat laptop.

Thanks,

Stelian.

===== drivers/ieee1394/nodemgr.c 1.23 vs edited =====
--- 1.23/drivers/ieee1394/nodemgr.c	Sat Jul 19 18:11:56 2003
+++ edited/drivers/ieee1394/nodemgr.c	Mon Sep 29 10:31:17 2003
@@ -1317,8 +1317,10 @@
 		 * to make sure things settle down. */
 		for (i = 0; i < 4 ; i++) {
 			set_current_state(TASK_INTERRUPTIBLE);
-			if (schedule_timeout(HZ/16))
+			if (schedule_timeout(HZ/16)) {
+				up(&nodemgr_serialize);
 				goto caught_signal;
+			}
 
 			/* Now get the generation in which the node ID's we collect
 			 * are valid.  During the bus scan we will use this generation
-- 
Stelian Pop <stelian@popies.net>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-10-26 16:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-26 16:49 [PATCH 2.4.23-pre8] ieee1394 nodemgr deadlock Stelian Pop

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox