From owner-cvs-src-old@FreeBSD.ORG Fri Aug 21 11:20:19 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23C2310656D1 for ; Fri, 21 Aug 2009 11:20:18 +0000 (UTC) (envelope-from julian@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D44AE8FC43 for ; Fri, 21 Aug 2009 11:20:18 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n7LBKItn012246 for ; Fri, 21 Aug 2009 11:20:18 GMT (envelope-from julian@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n7LBKITM012245 for cvs-src-old@freebsd.org; Fri, 21 Aug 2009 11:20:18 GMT (envelope-from julian@repoman.freebsd.org) Message-Id: <200908211120.n7LBKITM012245@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to julian@repoman.freebsd.org using -f From: Julian Elischer Date: Fri, 21 Aug 2009 11:20:10 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet ip_fw.h src/sys/netinet/ipfw ip_fw2.c ip_fw_pfil.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Aug 2009 11:20:19 -0000 julian 2009-08-21 11:20:10 UTC FreeBSD src repository Modified files: sys/netinet ip_fw.h sys/netinet/ipfw ip_fw2.c ip_fw_pfil.c Log: SVN rev 196423 on 2009-08-21 11:20:10Z by julian Fix ipfw's initialization functions to get the correct order of evaluation to allow vnet and non vnet operation. Move some functions from ip_fw_pfil.c to ip_fw2.c and mode to mostly using the SYSINIT and VNET_SYSINIT handlers instead of the modevent handler. Correct some spelling errors in comments in the affected code. Note this bug fixes a crash in NON VIMAGE kernels when ipfw is unloaded. This patch is a minimal patch for 8.0 I have a much larger patch that actually fixes the underlying problems that will be applied after 8.0 Reviewed by: zec@, rwatson@, bz@(earlier version) Approved by: re (rwatson) MFC after: Immediatly Revision Changes Path 1.133 +4 -2 src/sys/netinet/ip_fw.h 1.13 +110 -16 src/sys/netinet/ipfw/ip_fw2.c 1.5 +9 -51 src/sys/netinet/ipfw/ip_fw_pfil.c