diff options
author | 2007-04-04 14:34:56 +0000 | |
---|---|---|
committer | 2007-04-04 14:34:56 +0000 | |
commit | 0638b346b9a0a2efa05dedb45dfb15c3db88061a (patch) | |
tree | 1ebc0f37468687eacaff197a06f081e5d1b3aea4 | |
parent | abouse -> abuse (diff) | |
download | wireguard-openbsd-0638b346b9a0a2efa05dedb45dfb15c3db88061a.tar.xz wireguard-openbsd-0638b346b9a0a2efa05dedb45dfb15c3db88061a.zip |
Don't remove the process from the threads queue in proc_zap() as that
currently already happens in exit1(), okay art@
-rw-r--r-- | sys/kern/kern_exit.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c index 775306320e6..16ffd97de5f 100644 --- a/sys/kern/kern_exit.c +++ b/sys/kern/kern_exit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_exit.c,v 1.64 2007/04/03 08:05:43 art Exp $ */ +/* $OpenBSD: kern_exit.c,v 1.65 2007/04/04 14:34:56 pedro Exp $ */ /* $NetBSD: kern_exit.c,v 1.39 1996/04/22 01:38:25 christos Exp $ */ /* @@ -618,8 +618,9 @@ proc_zap(struct proc *p) * Remove us from our process list, possibly killing the process * in the process (pun intended). */ - +#if 0 TAILQ_REMOVE(&p->p_p->ps_threads, p, p_thr_link); +#endif if (TAILQ_EMPTY(&p->p_p->ps_threads)) pool_put(&process_pool, p->p_p); |