[PATCH] Midi close race

(no name) ((no email))
Fri, 21 Sep 2001 10:38:23 +0000


+ if (open_devs < 2)
+ del_timer(&poll_timer);

Probably you need del_timer_sync():
Otherwise the timer could be running on another cpu.

+ open_devs--;

--
	Manfred
(OT: Are there any mail archives that store the cc list? I'm not
subscribed to l-k, and if I answer a mail the cc list is always lost)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/