summaryrefslogtreecommitdiff
path: root/pfinet/sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'pfinet/sched.c')
-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);
}