From owner-cvs-all@FreeBSD.ORG Mon Jan 28 22:37:17 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9EB3B16A46C; Mon, 28 Jan 2008 22:37:17 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 76A0B13C474; Mon, 28 Jan 2008 22:37:17 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m0SMbHQq045524; Mon, 28 Jan 2008 22:37:17 GMT (envelope-from mav@repoman.freebsd.org) Received: (from mav@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m0SMbHVh045523; Mon, 28 Jan 2008 22:37:17 GMT (envelope-from mav) Message-Id: <200801282237.m0SMbHVh045523@repoman.freebsd.org> From: Alexander Motin Date: Mon, 28 Jan 2008 22:37:17 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netgraph ng_bpf.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jan 2008 22:37:17 -0000 mav 2008-01-28 22:37:17 UTC FreeBSD src repository Modified files: sys/netgraph ng_bpf.c Log: Avoid data copying when it is possible. bpf_filter() is able to work directly on mbuf chain. Revision Changes Path 1.23 +21 -9 src/sys/netgraph/ng_bpf.c