Make bpf_maxinsns visible from ng_bpf.c.
Pass me the pointyhat, please.
This commit is contained in:
parent
05def23cd8
commit
a19823099f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user