From owner-freebsd-current Mon Sep 11 0:35:49 2000 Delivered-To: freebsd-current@freebsd.org Received: from gidora.zeta.org.au (gidora.zeta.org.au [203.26.10.25]) by hub.freebsd.org (Postfix) with SMTP id 501ED37B423 for ; Mon, 11 Sep 2000 00:35:45 -0700 (PDT) Received: (qmail 14394 invoked from network); 11 Sep 2000 07:35:42 -0000 Received: from unknown (HELO bde.zeta.org.au) (203.2.228.102) by gidora.zeta.org.au with SMTP; 11 Sep 2000 07:35:42 -0000 Date: Mon, 11 Sep 2000 18:35:40 +1100 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: John Baldwin Cc: Manfred Antar , current@FreeBSD.ORG Subject: Re: New Fatal trap in Current SMP (random.dev changes ??) In-Reply-To: <200009110348.UAA31972@pike.osd.bsdi.com> 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 Sun, 10 Sep 2000, John Baldwin wrote: > I've got it fixed. The code is using TAILQ_REMOVE and TAILQ_FIRST to > pull entries out of a tailq while it is walking it via TAILQ_FOREACH. > Changing it to use a while(!TAILQ_EMPTY) instead of using TAILQ_FOREACH > fixes it. I'll be committing the fix in just a sec.. This is a good excuse for terminating the FOREACH obfuscations :). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message