From owner-freebsd-stable Sat Sep 23 21:20:21 2000 Delivered-To: freebsd-stable@freebsd.org Received: from marvin.shell-server.com (marvin.shell-server.com [216.206.242.66]) by hub.freebsd.org (Postfix) with ESMTP id 7F15B37B422 for ; Sat, 23 Sep 2000 21:20:19 -0700 (PDT) Received: from localhost (bsd@localhost) by marvin.shell-server.com (8.11.0/8.9.3) with ESMTP id e8O4K3E67778; Sat, 23 Sep 2000 23:20:07 -0500 (CDT) (envelope-from bsd@shell-server.com) X-Authentication-Warning: marvin.shell-server.com: bsd owned process doing -bs Date: Sat, 23 Sep 2000 23:20:02 -0500 (CDT) From: BSD To: Michael Allman Cc: stable@FreeBSD.ORG Subject: Re: Constant panics on 4.1-STABLE! In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 20 Sep 2000, Michael Allman wrote: > 132 /* > 133 * Look up the address in the table for that Address Family > 134 */ > 135 if (rnh && (rn = rnh->rnh_matchaddr((caddr_t)dst, rnh)) && > 136 ((rn->rn_flags & RNF_ROOT) == 0)) { C doesn't guarantee order of execution in if ( bleh && bleh && bleh). It may very well evaluate it backwards, or from the inside out if it wants. No? > (kgdb) print rnh > $1 = (struct radix_node_head *) 0x62000000 > (kgdb) print rn > $2 = (struct radix_node *) 0x0 > (kgdb) This goes to show rn is NULL (duh). --Bart To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message