From owner-cvs-all@FreeBSD.ORG Mon Sep 20 15:25:57 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0F8316A4CE; Mon, 20 Sep 2004 15:25:57 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7C6343D48; Mon, 20 Sep 2004 15:25:57 +0000 (GMT) (envelope-from mlaier@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i8KFPvaD028994; Mon, 20 Sep 2004 15:25:57 GMT (envelope-from mlaier@repoman.freebsd.org) Received: (from mlaier@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i8KFPvhu028993; Mon, 20 Sep 2004 15:25:57 GMT (envelope-from mlaier) Message-Id: <200409201525.i8KFPvhu028993@repoman.freebsd.org> From: Max Laier Date: Mon, 20 Sep 2004 15:25:57 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Subject: cvs commit: src/sys/contrib/pf/net if_pflog.c if_pfsync.c pf_ioctl.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2004 15:25:58 -0000 mlaier 2004-09-20 15:25:57 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sys/contrib/pf/net if_pflog.c if_pfsync.c pf_ioctl.c Log: MFC: boot order change: Move pf* init from SI_SUB_PSEUDO to SI_SUB_PROTO_IFATTACHDOMAIN where it is save to call if_attachdomain from if_attach() (as done for if_loop.c). We will now end up with a properly initialized if_afdata array and the nd6 callout will no longer try to deref a NULL pointer. Still this is a temp workaround and the locking for if_afdata should be revisited at a later point. Requested by: rwatson Discussed with and tested by: yongari (a while ago) PR: kern/70393 Approved by: re (scottl) Revision Changes Path 1.9.2.1 +1 -1 src/sys/contrib/pf/net/if_pflog.c 1.11.2.1 +1 -1 src/sys/contrib/pf/net/if_pfsync.c 1.12.2.3 +1 -1 src/sys/contrib/pf/net/pf_ioctl.c