From owner-freebsd-current Thu Sep 12 8: 4:18 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5570E37B400 for ; Thu, 12 Sep 2002 08:04:15 -0700 (PDT) Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB25D43E42 for ; Thu, 12 Sep 2002 08:04:14 -0700 (PDT) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) by bunrab.catwhisker.org (8.12.5/8.12.5) with ESMTP id g8CF4EsD012088 for ; Thu, 12 Sep 2002 08:04:14 -0700 (PDT) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.12.5/8.12.5/Submit) id g8CF4ESD012087 for current@freebsd.org; Thu, 12 Sep 2002 08:04:14 -0700 (PDT) Date: Thu, 12 Sep 2002 08:04:14 -0700 (PDT) From: David Wolfskill Message-Id: <200209121504.g8CF4ESD012087@bunrab.catwhisker.org> To: current@freebsd.org Subject: Circumvention for sys/net/if_ethersubr.c Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG OK; it's probably rather like a sledgehammer, but I got the kernel to compile and run with the following patch: Index: sys/net/if_ethersubr.c =================================================================== RCS file: /cvs/freebsd/src/sys/net/if_ethersubr.c,v retrieving revision 1.120 diff -u -r1.120 if_ethersubr.c --- sys/net/if_ethersubr.c 12 Sep 2002 01:05:46 -0000 1.120 +++ sys/net/if_ethersubr.c 12 Sep 2002 14:31:30 -0000 @@ -463,8 +463,10 @@ int i; struct ip_fw_args args; +#ifdef IPFIREWALL if (*rule != NULL && fw_one_pass) return 1; /* dummynet packet, already partially processed */ +#endif /* IPFIREWALL */ /* * I need some amt of data to be contiguous, and in case others need As evidenced by: freebeast(5.0-C)[1] uname -a FreeBSD freebeast.catwhisker.org 5.0-CURRENT FreeBSD 5.0-CURRENT #30: Thu Sep 12 07:41:46 PDT 2002 root@freebeast.catwhisker.org:/common/S4/obj/usr/src/sys/FREEBEAST i386 freebeast(5.0-C)[2] Cheers, david -- David H. Wolfskill david@catwhisker.org To paraphrase David Hilbert, there can be no conflicts between the discipline of systems administration and Microsoft, since they have nothing in common. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message