cvs commit: src/sys/amd64/amd64 bpf_jit_machdep.c bpf_jit_machdep.h
src/sys/i386/i386 bpf_jit_machdep.c bpf_jit_machdep.h src/sys/net
bpf_jitter.c bpf_jitter.h
Jung-uk Kim
jkim at FreeBSD.org
Thu Sep 4 15:16:47 UTC 2008
jkim 2008-09-04 15:15:39 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/amd64/amd64 bpf_jit_machdep.c bpf_jit_machdep.h
sys/i386/i386 bpf_jit_machdep.c bpf_jit_machdep.h
sys/net bpf_jitter.c bpf_jitter.h
Log:
SVN rev 182760 on 2008-09-04 15:15:39Z by jkim
MFC: Sync. BPF JIT compiler with HEAD.
- r182172:
Embed scratch memory in the filter structure.
- r182173:
Fix a typo in copyrights.
- r182220:
Move empty filter handling to MI source.
- r182376:
Initialize scratch memory for JIT-compiled filter when it is allocated.
Previously it may have contained unnecessary (even sensitive) data from
the previous allocation.
As a (good) side effect, scratch memory may be used to store the previous
filter state(s) safely because it is allocated and freed with filter itself.
However, use it carefully because bpf_filter(9) does not have this behavior.
Approved by: re (kensmith)
Revision Changes Path
1.4.2.2 +1 -5 src/sys/amd64/amd64/bpf_jit_machdep.c
1.3.2.2 +1 -1 src/sys/amd64/amd64/bpf_jit_machdep.h
1.4.2.2 +1 -5 src/sys/i386/i386/bpf_jit_machdep.c
1.3.2.2 +1 -1 src/sys/i386/i386/bpf_jit_machdep.h
1.3.2.2 +26 -19 src/sys/net/bpf_jitter.c
1.2.2.2 +2 -2 src/sys/net/bpf_jitter.h
More information about the cvs-src
mailing list