diff options
author | csjp <csjp@FreeBSD.org> | 2009-03-07 17:07:29 +0000 |
---|---|---|
committer | csjp <csjp@FreeBSD.org> | 2009-03-07 17:07:29 +0000 |
commit | d55a784c1d5bc879acbf4efb0e0b962551cef9cf (patch) | |
tree | 00ecd5aaaec4f9c7b01b0605261608f3810f3e4f /sys | |
parent | 7b4344f11fdcd78f3b2efef84c1eb704edf730b2 (diff) | |
download | FreeBSD-src-d55a784c1d5bc879acbf4efb0e0b962551cef9cf.zip FreeBSD-src-d55a784c1d5bc879acbf4efb0e0b962551cef9cf.tar.gz |
Mark the bpf stats sysctl as being mpsafe. We do not require
Giant here.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/bpf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/bpf.c b/sys/net/bpf.c index 8a0b1ae..21d4969 100644 --- a/sys/net/bpf.c +++ b/sys/net/bpf.c @@ -127,7 +127,7 @@ SYSCTL_INT(_net_bpf, OID_AUTO, maxinsns, CTLFLAG_RW, static int bpf_zerocopy_enable = 1; SYSCTL_INT(_net_bpf, OID_AUTO, zerocopy_enable, CTLFLAG_RW, &bpf_zerocopy_enable, 0, "Enable new zero-copy BPF buffer sessions"); -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; |