From owner-cvs-src-old@FreeBSD.ORG Sun Jan 18 19:25:47 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1A8910656C0 for ; Sun, 18 Jan 2009 19:25:47 +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 AE1688FC1D for ; Sun, 18 Jan 2009 19:25:47 +0000 (UTC) (envelope-from mav@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 n0IJPlNI013417 for ; Sun, 18 Jan 2009 19:25:47 GMT (envelope-from mav@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n0IJPldD013416 for cvs-src-old@freebsd.org; Sun, 18 Jan 2009 19:25:47 GMT (envelope-from mav@repoman.freebsd.org) Message-Id: <200901181925.n0IJPldD013416@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to mav@repoman.freebsd.org using -f From: Alexander Motin Date: Sun, 18 Jan 2009 19:25:36 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netgraph ng_deflate.c ng_mppc.c ng_pred1.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2009 19:25:48 -0000 mav 2009-01-18 19:25:36 UTC FreeBSD src repository Modified files: sys/netgraph ng_deflate.c ng_mppc.c ng_pred1.c Log: SVN rev 187405 on 2009-01-18 19:25:36Z by mav Use m_unshare()+m_copyback() instead of m_freem()+m_devget() to keep original mbuf chain headers. It can be less efficient in some cases, but it looks better then mess of copying headers into the nonempty chain. Revision Changes Path 1.4 +27 -14 src/sys/netgraph/ng_deflate.c 1.36 +23 -22 src/sys/netgraph/ng_mppc.c 1.4 +30 -13 src/sys/netgraph/ng_pred1.c