From owner-freebsd-current@FreeBSD.ORG Fri Feb 22 06:36:59 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7971616A400 for ; Fri, 22 Feb 2008 06:36:59 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 5297813C43E for ; Fri, 22 Feb 2008 06:36:59 +0000 (UTC) (envelope-from sam@errno.com) Received: from Macintosh-2.local ([10.0.0.196]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id m1M6atYw070763 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 21 Feb 2008 22:36:55 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <47BE6D86.6050801@errno.com> Date: Thu, 21 Feb 2008 22:36:54 -0800 From: Sam Leffler Organization: Errno Consulting User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Dimitry Andric References: <20080221035014.GB26427@cdnetworks.co.kr> <20080221050635.GC26427@cdnetworks.co.kr> <47BDBB1A.9040701@andric.com> <47BE2FEF.7010709@andric.com> In-Reply-To: <47BE2FEF.7010709@andric.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-Misty-Metrics: ebb.errno.com; whitelist Cc: pyunyh@gmail.com, FreeBSD Current , Robert Backhaus Subject: Re: Packet corruption in re0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2008 06:36:59 -0000 Dimitry Andric wrote: > On 2008-02-22 02:59, Robert Backhaus wrote: >>> > Copy sys/dev/re/if_re.c, sys/pci/if_rlreg.h in HEAD to your box. >>> > Due to lack of m_defrag(9) in 7-PRERELEASE/RC, you also have to add >>> > that function to if_re.c(Copy m_defrag() in sys/kern/uipc_mbuf.c on >>> > HEAD/RELENG_7 to if_re.c). That would make it build on your box. >> I have had trouble so far. I was tracking RELENG_7, which has the m_defrag() >> function. > > Actually, m_defrag() DOES exist in RELENG_7, it's m_collapse() that > isn't yet MFC'd, apparently. So that is the function that needs to > copied from HEAD's uipc_mbuf.c instead. m_collapsed has been mfc'd: revision 1.174.2.1 date: 2008/02/08 20:58:18; author: sam; state: Exp; lines: +86 -0 MFC: promote ath_defrag to m_collapse