Module Name:    src
Committed By:   rmind
Date:           Mon Jun 30 00:01:24 UTC 2014

Modified Files:
        src/sys/net/npf: npf_bpf.c

Log Message:
NPF: use BPF JIT by default.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/net/npf/npf_bpf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/net/npf/npf_bpf.c
diff -u src/sys/net/npf/npf_bpf.c:1.9 src/sys/net/npf/npf_bpf.c:1.10
--- src/sys/net/npf/npf_bpf.c:1.9	Sun Jun 29 00:05:24 2014
+++ src/sys/net/npf/npf_bpf.c	Mon Jun 30 00:01:23 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: npf_bpf.c,v 1.9 2014/06/29 00:05:24 rmind Exp $	*/
+/*	$NetBSD: npf_bpf.c,v 1.10 2014/06/30 00:01:23 rmind Exp $	*/
 
 /*-
  * Copyright (c) 2009-2013 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: npf_bpf.c,v 1.9 2014/06/29 00:05:24 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: npf_bpf.c,v 1.10 2014/06/30 00:01:23 rmind Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -127,11 +127,7 @@ npf_bpf_filter(bpf_args_t *args, const v
 void *
 npf_bpf_compile(void *code, size_t size)
 {
-#if 0
 	return bpf_jit_generate(npf_bpfctx, code, size);
-#else
-	return NULL;
-#endif
 }
 
 bool

Reply via email to