From owner-cvs-src@FreeBSD.ORG Sun Jul 30 06:47:52 2006 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 863E516A4E1 for ; Sun, 30 Jul 2006 06:47:52 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1ED0443D49 for ; Sun, 30 Jul 2006 06:47:50 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: by nz-out-0102.google.com with SMTP id 13so66407nzn for ; Sat, 29 Jul 2006 23:47:49 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=koc72UN9rtmNN6sttYE0BLH4Ctz/Bil0ESCm1pOVKPoTNhmTXJgZb9ZLtH5Ep9XMr32U4skjbQDfLh+S+uQ/zynXMs1GK0Suo53oRyX1seiLG6hhTO6xl5pJAoaZXrXLp/z67HwTVJBEEAYEX+P2qHx3Iq7admAcVrtCYc7I/OY= Received: by 10.65.114.11 with SMTP id r11mr1606767qbm; Sat, 29 Jul 2006 23:47:49 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.gmail.com with ESMTP id 14sm3285022nzp.2006.07.29.23.47.46; Sat, 29 Jul 2006 23:47:49 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id k6U6m8eO032986 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 30 Jul 2006 15:48:08 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id k6U6m75S032985; Sun, 30 Jul 2006 15:48:07 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Sun, 30 Jul 2006 15:48:07 +0900 From: Pyun YongHyeon To: Yar Tikhiy Message-ID: <20060730064807.GA32731@cdnetworks.co.kr> References: <200607270043.k6R0hY8g088353@repoman.freebsd.org> <20060729205009.GA37970@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060729205009.GA37970@freefall.freebsd.org> User-Agent: Mutt/1.4.2.1i Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, Pyun YongHyeon Subject: Re: cvs commit: src/sys/dev/em if_em.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jul 2006 06:47:52 -0000 On Sat, Jul 29, 2006 at 08:50:09PM +0000, Yar Tikhiy wrote: > On Thu, Jul 27, 2006 at 12:43:34AM +0000, Pyun YongHyeon wrote: > > yongari 2006-07-27 00:43:34 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/dev/em if_em.c > > Log: > > Prepending an mbuf after loading a DMA map results in unexpected > > result. So, modify mbuf chains before loading a DMA map. > > > > Revision Changes Path > > 1.122 +28 -31 src/sys/dev/em/if_em.c > > Thanks a lot! Do you think this can fix kern/72933? > I can't sure it helps as the submitter reported the same issue on bge(4). Btw, I think the VLAN fixup code should use m_prepend(9) insatead of M_PREEND(9) because we don't know whether a new mbuf is allocated or not after M_PREPEND(9) call. -- Regards, Pyun YongHyeon