On 24.05.2012 04:18, Jung-uk Kim wrote:
...
@@ -1664,7 +1668,7 @@ bpf_setf(struct bpf_d *d, struct bpf_pro
struct bpf_insn *fcode, *old; u_int wfilter, flen, size; #ifdef
BPF_JITTER -bpf_jit_filter *ofunc; +bpf_jit_filter *ofunc,
*jfunc; #endif int need_upgrade; #ifdef
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 2012-05-24 06:44:48 -0400, Alexander V. Chernikov wrote:
Does the attached patch look ok to you?
Generally looks good. Few nits:
- --- bpf.c ---
1713: #ifdef BPF_JITTER
1714: bpf_jit_filter *ofunc, *jfunc;
1715: #endif
Please add jfunc
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 2012-05-21 18:19:20 -0400, Alexander V. Chernikov wrote:
Author: melifaro Date: Mon May 21 22:19:19 2012 New Revision:
235746 URL: http://svn.freebsd.org/changeset/base/235746
Log: Call bpf_jitter() before acquiring BPF global lock due to
Author: melifaro
Date: Mon May 21 22:19:19 2012
New Revision: 235746
URL: http://svn.freebsd.org/changeset/base/235746
Log:
Call bpf_jitter() before acquiring BPF global lock due to malloc() being used
inside bpf_jitter.
Eliminate bpf_buffer_alloc() and allocate BPF buffers on descriptor