Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Sep 2000 23:20:02 -0500 (CDT)
From:      BSD <bsd@shell-server.com>
To:        Michael Allman <msa@dinosauricon.com>
Cc:        stable@FreeBSD.ORG
Subject:   Re: Constant panics on 4.1-STABLE!
Message-ID:  <Pine.BSF.4.10.10009232316590.62035-100000@marvin.shell-server.com>
In-Reply-To: <Pine.BSF.4.21.0009200034460.421-100000@dinosaur.umbc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10009232316590.62035-100000>