lkml.org 
[lkml]   [1999]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectPATCH: fix panic in 2.3.18 ISDN

Hi,

the following patch fixes a bug in wait queue initialization which has caused
panics for me under certain cirumstances (e.g. certain "isdnctrl hangup" and
"ifconfig down" scenarios). (diff context kept small intentionally to
reduce possibilty of patch conflicts with different cvs versions)

Henner


--- linux/drivers/isdn/isdn_common.c.orig Sat Oct 2 02:44:19 1999
+++ linux/drivers/isdn/isdn_common.c Sat Oct 2 02:47:18 1999
@@ -48,2 +48,5 @@
* First Fax G3 implementations.
*
+ * Revision 1.88 1999/10/02 00:39:26 he
+ * Fixed a 2.3.x wait queue initialization (was causing panics)
+ *
@@ -2320,5 +2323,5 @@
d->snd_waitq = d->rcv_waitq + m;
for (j = 0; j < m; j++) {
- init_waitqueue_head(&d->rcv_waitq[m]);
- init_waitqueue_head(&d->snd_waitq[m]);
+ init_waitqueue_head(&d->rcv_waitq[j]);
+ init_waitqueue_head(&d->snd_waitq[j]);
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.098 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site