Date: Fri, 4 Dec 2009 15:22:09 -0800 From: David Wolfskill <david@catwhisker.org> To: Luigi Rizzo <rizzo@iet.unipi.it> Cc: current@freebsd.org Subject: Re: sys/netinet/ipfw/ip_fw2.c:2600: error: 'fw_one_pass' undeclared Message-ID: <20091204232209.GG1130@albert.catwhisker.org> In-Reply-To: <20091204221029.GA17787@onelab2.iet.unipi.it> References: <20091204190438.GD1130@albert.catwhisker.org> <20091204221029.GA17787@onelab2.iet.unipi.it>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091204232209.GG1130>
