From owner-freebsd-arm@FreeBSD.ORG Tue Aug 27 17:14:26 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1B6195E2 for ; Tue, 27 Aug 2013 17:14:26 +0000 (UTC) (envelope-from ThomasSkibo@sbcglobal.net) Received: from nm5-vm5.access.bullet.mail.gq1.yahoo.com (nm5-vm5.access.bullet.mail.gq1.yahoo.com [216.39.63.123]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B458825C9 for ; Tue, 27 Aug 2013 17:14:25 +0000 (UTC) Received: from [216.39.60.175] by nm5.access.bullet.mail.gq1.yahoo.com with NNFMP; 27 Aug 2013 17:08:19 -0000 Received: from [67.195.15.63] by tm11.access.bullet.mail.gq1.yahoo.com with NNFMP; 27 Aug 2013 17:08:19 -0000 Received: from [127.0.0.1] by smtp104.sbc.mail.gq1.yahoo.com with NNFMP; 27 Aug 2013 17:08:19 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s1024; t=1377623299; bh=kh+7PBu8ZxK72E/BFjpNw2kfXoZ96B7xD8bmtRWlDFk=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=lLput/9HkcLXEAkQf+tgR0HT78Yv9NgvgJz1ylYl6SDAwOJs97lq825Rx4hyWBQ6LXq1PFU30s8GKqS6oW4mGXz2QU0TIPQdISl4l+2xzPbM2wmS7oClVpP5YvOsBgj2k1Gti2aWVjWMsnXj81lN+0H8zlRz5+MNfq6Z/rota9k= X-Yahoo-Newman-Id: 582110.3786.bm@smtp104.sbc.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: M0YfUmIVM1mdNB8JlqkpW_WEvx8gwTOEgs4PO5XMCBsPeVD 2qaCvI.37q3x6ePLQlGbQBj7pIGjKU1KC7GHlm2Xa3rJSonHhbRL0ckeMytj fJ24d357TT3jUkEa6VOlIl5Z8JLxC6ROrGqmgVPx7HZWgadAH.p9pH2O_8k. Ta0rakkYOBYapLGnZfbFGQWUUUOV86uHtkkWP.khAeaW8mwbgE7NYVYQs9ud d8qM4_YmiK6Da7ORhssOUrD3LdXVoH58FFoUnyItA3cxO4z7AHPrL5FhXWTe seHEiZNP0.bsjxtk5lggW38OgolaOWzYW3IkmBZzRJDoTSeKxkIbP7ZIu2B4 gLbijytc6w3D2sQfGYrlwTYdLyyXq1EP.Bm5M81L2mA3baxpOugyaKYojtJv 80N6bUxA22wB6IlTPjAr5qFxkNZ8FbLCl0M383GULzNO6JzdX.Mxuvrp3AzV DOhqt_Go8DspXHa6VY85YcCD6Y.7QjT.VdDZPkBonWGz2Vd6_99g1OI5HdDu gXDR5hTffE3VG403N7ijrsG9Y3PaStbkNadLMwwYJ86rRGaSrTf67KrEv9gD m4iWcWLn3Yty7FSxgMOJwEVecXGAyf3hQ3Wx0wnsZ1hHguFI4RZVEhYcsH7Z 3xHZ5GzNfVOQSTcQMPOejRKMlHLk5t3tg_OlIzxLaqSczjOld_WWQo.EqJd8 21KwslA.N_2iDy33U X-Yahoo-SMTP: tUxoRneswBA21azLM.3ybMESf0mC2bFhTbmt0VU5ervH0kqi5lo- X-Rocket-Received: from [192.168.1.9] (ThomasSkibo@71.139.173.243 with plain) by smtp104.sbc.mail.gq1.yahoo.com with SMTP; 27 Aug 2013 10:08:19 -0700 PDT Message-ID: <521CDD03.1010108@sbcglobal.net> Date: Tue, 27 Aug 2013 10:08:19 -0700 From: Thomas Skibo User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Andre Oppermann Subject: Re: ARM network trouble after recent mbuf changes References: <1377550636.1111.156.camel@revolution.hippie.lan> <521BC472.7040804@freebsd.org> <521BD531.4090104@sbcglobal.net> <521C4CD9.4050308@freebsd.org> <0E0536B2-2B7F-4EED-9EFD-4B9E2C2D729A@freebsd.org> <521C87FF.8010100@freebsd.org> In-Reply-To: <521C87FF.8010100@freebsd.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Aug 2013 17:14:26 -0000 On 8/27/13 4:05 AM, Andre Oppermann wrote: > > Thanks. I've changed the test accordingly. > > While doing the CTASSERTs to prevent such an incident in the future I > stumbled > across a bit of evil name space pollution in mbuf.h. It is impossible > to take > sizeof(struct m_ext) because "m_ext" is redefined to point into struct > mbuf. > > In addition to the alignment fix I've solved the namespace issues with > m_ext > and the stupidly named struct pkthdr as well and properly prefixed > them. The > fallout from LINT was zero (as it should be). > > http://people.freebsd.org/~andre/m_hdr-alignment-20130827.diff > > Please test. > I'm running this patch on Zedboard and it is doing well. Thanks! -- -------- Thomas Skibo ThomasSkibo@sbcglobal.net