Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Mar 2009 18:00:19 +0000 (UTC)
From:      "Christian S.J. Peron" <csjp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r190165 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb net
Message-ID:  <200903201800.n2KI0J0O009476@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903201800.n2KI0J0O009476>