diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-11-29 17:56:52 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-11-29 17:56:52 +0000 |
commit | bba6028d069388af26e31e765f253ede8aa461df (patch) | |
tree | ec69fa8192f577f66bed0f0e6611f3b06f55d8a3 /pfinet | |
parent | 276938f4299eaa3abaacaec601b0391b3b4366af (diff) |
Formerly sched.c.~12~
Diffstat (limited to 'pfinet')
-rw-r--r-- | pfinet/sched.c | 5 |
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); } |