From owner-freebsd-current Sun Sep 10 23:43:44 2000 Delivered-To: freebsd-current@freebsd.org Received: from smtp02.iafrica.com (smtp02.iafrica.com [196.7.0.140]) by hub.freebsd.org (Postfix) with ESMTP id 1B12F37B424 for ; Sun, 10 Sep 2000 23:43:40 -0700 (PDT) Received: from [196.7.18.138] (helo=grimreaper.grondar.za ident=root) by smtp02.iafrica.com with esmtp (Exim 1.92 #1) id 13YNJV-00020i-00; Mon, 11 Sep 2000 08:43:34 +0200 Received: from grimreaper.grondar.za (mark@localhost [127.0.0.1]) by grimreaper.grondar.za (8.11.0/8.11.0) with ESMTP id e8B6gu011649; Mon, 11 Sep 2000 08:42:56 +0200 (SAST) (envelope-from mark@grimreaper.grondar.za) Message-Id: <200009110642.e8B6gu011649@grimreaper.grondar.za> To: John Baldwin Cc: Manfred Antar , current@FreeBSD.ORG Subject: Re: New Fatal trap in Current SMP (random.dev changes ??) References: <200009110348.UAA31972@pike.osd.bsdi.com> In-Reply-To: <200009110348.UAA31972@pike.osd.bsdi.com> ; from John Baldwin "Sun, 10 Sep 2000 20:48:16 MST." Date: Mon, 11 Sep 2000 08:42:56 +0200 From: Mark Murray Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > And the panic goes away > > Manfred > > 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.. Thanks, John! :-) M -- Mark Murray Join the anti-SPAM movement: http://www.cauce.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message