From owner-freebsd-current Mon Mar 15 0:11:55 1999 Delivered-To: freebsd-current@freebsd.org Received: from herring.nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (Postfix) with ESMTP id EEA521544C for ; Mon, 15 Mar 1999 00:11:49 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from localhost (dfr@localhost) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id IAA49614; Mon, 15 Mar 1999 08:13:15 GMT (envelope-from dfr@nlsystems.com) Date: Mon, 15 Mar 1999 08:13:15 +0000 (GMT) From: Doug Rabson To: Dmitrij Tejblum Cc: Matthew Dillon , current@freebsd.org Subject: Re: Simple DOS against 3.x locks box solid In-Reply-To: <199903142204.BAA03697@tejblum.dnttm.rssi.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 15 Mar 1999, Dmitrij Tejblum wrote: > Matthew Dillon wrote: > > - error = acquire(lkp, extflags, > > - LK_HAVE_EXCL | LK_WANT_EXCL | LK_WANT_UPGRADE); > > + if (p->p_flag & P_DEADLKTREAT) { > > + error = acquire( > > This is broken: p may be NULL, it is checked several lines before. > My kernel just paniced for this reason. > > Well, sorry for late response, but: what was wrong with Tor Egge's > "workaround" from kern/8416? I'm almost relieved. I had a report of this on the alpha and I thought it might be alpha-specific. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message