From owner-freebsd-current@FreeBSD.ORG Fri Dec 4 23:22:10 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D194E106568D for ; Fri, 4 Dec 2009 23:22:10 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.freebsd.org (Postfix) with ESMTP id 801358FC0C for ; Fri, 4 Dec 2009 23:22:10 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.3/8.14.3) with ESMTP id nB4NMAZ7010868; Fri, 4 Dec 2009 15:22:10 -0800 (PST) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.3/8.14.3/Submit) id nB4NMA9J010867; Fri, 4 Dec 2009 15:22:10 -0800 (PST) (envelope-from david) Date: Fri, 4 Dec 2009 15:22:09 -0800 From: David Wolfskill To: Luigi Rizzo Message-ID: <20091204232209.GG1130@albert.catwhisker.org> Mail-Followup-To: David Wolfskill , Luigi Rizzo , current@freebsd.org References: <20091204190438.GD1130@albert.catwhisker.org> <20091204221029.GA17787@onelab2.iet.unipi.it> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="a8sldprk+5E/pDEv" Content-Disposition: inline In-Reply-To: <20091204221029.GA17787@onelab2.iet.unipi.it> User-Agent: Mutt/1.4.2.3i Cc: current@freebsd.org Subject: Re: sys/netinet/ipfw/ip_fw2.c:2600: error: 'fw_one_pass' undeclared X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Dec 2009 23:22:10 -0000 --a8sldprk+5E/pDEv Content-Type: multipart/mixed; boundary="Y+xroYBkGM9OatJL" Content-Disposition: inline --Y+xroYBkGM9OatJL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 04, 2009 at 11:10:29PM +0100, Luigi Rizzo wrote: > On Fri, Dec 04, 2009 at 11:04:38AM -0800, David Wolfskill wrote: > > Running > >=20 > > FreeBSD d254.dwolf.juniper.net. 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r200= 055: Thu Dec 3 17:04:59 PST 2009 root@d254.dwolf.juniper.net.:/common/= S4/obj/usr/src/sys/CANARY i386 > >=20 > > Sources updated to r200098; kernel build fails: >=20 > hmmm, i just completed a build with r200098 > though without vnet enabled, which may be the difference ? >=20 > Can you replace line p_fw2.c 2060 with > - if (fw_one_pass) { > + if (V_fw_one_pass) { > and see if it fixes the problem ? Aye; built & booted; now running: FreeBSD d254.dwolf.juniper.net. 9.0-CURRENT FreeBSD 9.0-CURRENT #2 r200098M= : Fri Dec 4 14:32:48 PST 2009 root@d254.dwolf.juniper.net.:/common/S4/= obj/usr/src/sys/CANARY i386 Actual diff generated from sources I used attached for reference. Thanks again! Peace, david --=20 David H. Wolfskill david@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --Y+xroYBkGM9OatJL Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="ip_fw2.c.diff" Index: sys/netinet/ipfw/ip_fw2.c =================================================================== --- sys/netinet/ipfw/ip_fw2.c (revision 200098) +++ sys/netinet/ipfw/ip_fw2.c (working copy) @@ -2579,7 +2579,7 @@ * XXX should not happen here, but optimized out in * the caller. */ - if (fw_one_pass) { + if (V_fw_one_pass) { IPFW_RUNLOCK(chain); return (IP_FW_PASS); } --Y+xroYBkGM9OatJL-- --a8sldprk+5E/pDEv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAksZmaEACgkQmprOCmdXAD2iPgCfX+m09wR2GFA7Us1h7a6mCQaZ OmIAmQGIJAThvgOu47+h92eyHAQfv75d =nI6i -----END PGP SIGNATURE----- --a8sldprk+5E/pDEv--