PERFORCE change 137386 for review

Robert Watson rwatson at FreeBSD.org
Tue Mar 11 08:33:58 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=137386

Change 137386 by rwatson at rwatson_cinnamon on 2008/03/11 08:33:27

	Remove duplicate definitions of bpf default and maximum buffer
	sizes that got reintroduced during an integration at some point.

Affected files ...

.. //depot/projects/zcopybpf/src/sys/net/bpf.c#48 edit

Differences ...

==== //depot/projects/zcopybpf/src/sys/net/bpf.c#48 (text+ko) ====

@@ -123,12 +123,6 @@
 static int	bpf_stats_sysctl(SYSCTL_HANDLER_ARGS);
 
 SYSCTL_NODE(_net, OID_AUTO, bpf, CTLFLAG_RW, 0, "bpf sysctl");
-static int bpf_bufsize = 4096;
-SYSCTL_INT(_net_bpf, OID_AUTO, bufsize, CTLFLAG_RW,
-    &bpf_bufsize, 0, "Default bpf buffer size");
-static int bpf_maxbufsize = BPF_MAXBUFSIZE;
-SYSCTL_INT(_net_bpf, OID_AUTO, maxbufsize, CTLFLAG_RW,
-    &bpf_maxbufsize, 0, "Maximum bpf buffer size");
 static int bpf_maxinsns = BPF_MAXINSNS;
 SYSCTL_INT(_net_bpf, OID_AUTO, maxinsns, CTLFLAG_RW,
     &bpf_maxinsns, 0, "Maximum bpf program instructions");


More information about the p4-projects mailing list