summaryrefslogtreecommitdiff
path: root/pfinet
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-11-29 17:56:52 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-11-29 17:56:52 +0000
commitbba6028d069388af26e31e765f253ede8aa461df (patch)
treeec69fa8192f577f66bed0f0e6611f3b06f55d8a3 /pfinet
parent276938f4299eaa3abaacaec601b0391b3b4366af (diff)
Formerly sched.c.~12~
Diffstat (limited to 'pfinet')
-rw-r--r--pfinet/sched.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/pfinet/sched.c b/pfinet/sched.c
index 4f3b33d8..94b90ed1 100644
--- a/pfinet/sched.c
+++ b/pfinet/sched.c
@@ -57,7 +57,10 @@ interruptible_sleep_on (struct wait_queue **p)
void
wake_up_interruptible (struct wait_queue **p)
{
- condition_broadcast (&(*p)->c);
+ /* tcp.c uses an unitialized wait queue; don't bomb
+ if we see it. */
+ if (*p)
+ condition_broadcast (&(*p)->c);
}