From owner-cvs-src@FreeBSD.ORG Thu Sep 4 15:16:46 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C860D1065674; Thu, 4 Sep 2008 15:16:46 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B1E7D8FC1D; Thu, 4 Sep 2008 15:16:46 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id m84FGkoh084632; Thu, 4 Sep 2008 15:16:46 GMT (envelope-from jkim@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m84FGk0P084626; Thu, 4 Sep 2008 15:16:46 GMT (envelope-from jkim@repoman.freebsd.org) Message-Id: <200809041516.m84FGk0P084626@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jkim@repoman.freebsd.org using -f From: Jung-uk Kim Date: Thu, 4 Sep 2008 15:15:39 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: 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 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Sep 2008 15:16:47 -0000 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