From owner-svn-src-all@FreeBSD.ORG Fri Mar 20 18:00:19 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7E911065690; Fri, 20 Mar 2009 18:00:19 +0000 (UTC) (envelope-from csjp@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A3A308FC2C; Fri, 20 Mar 2009 18:00:19 +0000 (UTC) (envelope-from csjp@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n2KI0JfD009477; Fri, 20 Mar 2009 18:00:19 GMT (envelope-from csjp@svn.freebsd.org) Received: (from csjp@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n2KI0J0O009476; Fri, 20 Mar 2009 18:00:19 GMT (envelope-from csjp@svn.freebsd.org) Message-Id: <200903201800.n2KI0J0O009476@svn.freebsd.org> From: "Christian S.J. Peron" Date: Fri, 20 Mar 2009 18:00:19 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r190165 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb net X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2009 18:00:21 -0000 Author: csjp Date: Fri Mar 20 18:00:19 2009 New Revision: 190165 URL: http://svn.freebsd.org/changeset/base/190165 Log: MFC r189490 - Mark bpf(4) stats sysctl as mpsafe. We do not require Giant here. Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed) stable/7/sys/dev/ath/ath_hal/ (props changed) stable/7/sys/dev/cxgb/ (props changed) stable/7/sys/net/bpf.c Modified: stable/7/sys/net/bpf.c ============================================================================== --- stable/7/sys/net/bpf.c Fri Mar 20 17:51:26 2009 (r190164) +++ stable/7/sys/net/bpf.c Fri Mar 20 18:00:19 2009 (r190165) @@ -129,7 +129,7 @@ SYSCTL_INT(_net_bpf, OID_AUTO, maxbufsiz static int bpf_maxinsns = BPF_MAXINSNS; SYSCTL_INT(_net_bpf, OID_AUTO, maxinsns, CTLFLAG_RW, &bpf_maxinsns, 0, "Maximum bpf program instructions"); -SYSCTL_NODE(_net_bpf, OID_AUTO, stats, CTLFLAG_RW, +SYSCTL_NODE(_net_bpf, OID_AUTO, stats, CTLFLAG_MPSAFE | CTLFLAG_RW, bpf_stats_sysctl, "bpf statistics portal"); static d_open_t bpfopen;