From owner-freebsd-net@FreeBSD.ORG Mon Mar 3 11:47:11 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC32C1065673; Mon, 3 Mar 2008 11:47:11 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: from onelab2.iet.unipi.it (onelab2.iet.unipi.it [131.114.9.129]) by mx1.freebsd.org (Postfix) with ESMTP id 98CB28FC18; Mon, 3 Mar 2008 11:47:10 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: by onelab2.iet.unipi.it (Postfix, from userid 275) id 6C57373129; Mon, 3 Mar 2008 12:48:04 +0100 (CET) Date: Mon, 3 Mar 2008 12:48:04 +0100 From: Luigi Rizzo To: Paolo Pisati Message-ID: <20080303114804.GA46175@onelab2.iet.unipi.it> References: <20080302144939.GA23353@tin.it> <20080302145850.GA33308@onelab2.iet.unipi.it> <20080303101718.GA34056@tin.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080303101718.GA34056@tin.it> User-Agent: Mutt/1.4.2.3i Cc: freebsd-ipfw@freebsd.org, freebsd-net@freebsd.org Subject: Re: ipfw initialization: SI_ORDER_ANY -> SI_ORDER_MIDDLE? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Mar 2008 11:47:12 -0000 On Mon, Mar 03, 2008 at 11:17:19AM +0100, Paolo Pisati wrote: > On Sun, Mar 02, 2008 at 03:58:50PM +0100, Luigi Rizzo wrote: > > > > The SI_ORDER_* definitions in /sys/sys/kernel.h are enumerated on a > > large range, so if the existing code does not have races, > > you can safely move the non-leaf modules > > (such as ipfw,ko in your case) to (SI_ORDER_ANY - some_small_integer) > > without breaking anything. > > fine, i did this. > > is it MFCable? i think so, the SI_ORDER_* definitions are the same at least down to RELENG_6, which is the lowest release we probably care about. cheers luigi