svn commit: r190165 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb net

Christian S.J. Peron csjp at FreeBSD.org
Fri Mar 20 11:00:21 PDT 2009


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;


More information about the svn-src-all mailing list