Make bpf_maxinsns visible from ng_bpf.c.

Pass me the pointyhat, please.
This commit is contained in:
Jung-uk Kim 2008-08-29 20:34:06 +00:00
parent d0d67284f8
commit 12dc95824b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=182462

View File

@ -120,7 +120,7 @@ static void bpf_drvinit(void *);
static int bpf_stats_sysctl(SYSCTL_HANDLER_ARGS);
SYSCTL_NODE(_net, OID_AUTO, bpf, CTLFLAG_RW, 0, "bpf sysctl");
static int bpf_maxinsns = BPF_MAXINSNS;
int bpf_maxinsns = BPF_MAXINSNS;
SYSCTL_INT(_net_bpf, OID_AUTO, maxinsns, CTLFLAG_RW,
&bpf_maxinsns, 0, "Maximum bpf program instructions");
static int bpf_zerocopy_enable = 0;