From owner-freebsd-net@FreeBSD.ORG Mon Sep 15 07:50:31 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4C869BD6 for ; Mon, 15 Sep 2014 07:50:31 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D9D75A99 for ; Mon, 15 Sep 2014 07:50:30 +0000 (UTC) Received: from mandree.no-ip.org ([78.48.23.37]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MLunc-1XQ77p3Ydw-007myM for ; Mon, 15 Sep 2014 09:50:21 +0200 Received: from [IPv6:::1] (localhost6.localdomain6 [IPv6:::1]) by apollo.emma.line.org (Postfix) with ESMTP id 0A18A23CF97 for ; Mon, 15 Sep 2014 09:50:21 +0200 (CEST) Message-ID: <54169A3C.2090402@gmx.de> Date: Mon, 15 Sep 2014 09:50:20 +0200 From: Matthias Andree User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: Re: netmap BUG found on big endian machine References: <001e01cfd02a$255cb430$70161c90$@126.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:xXOYTeAwqQug4XXGn0zeCE2/491TihUu/HB22s7EhC+k9fLoKfY xUpTtIVEMHaGieEPuhQWyI8CBWnGn/Ks9sudNA3yjHg57LJSEUEQj9+AzvNyXaQtpPiTNRi ZiV1ISsK3+CGaIJGpp/pJGtbfORE9keuXAiwmHd+YhVD621TLsCjpBqlxmlynFv4EOFAinQ KMvmD5NiqknmCW0cO7NbA== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Sep 2014 07:50:31 -0000 Am 14.09.2014 um 18:42 schrieb Adrian Chadd: > Hi! > > Good catch! > > Would you mind filing a bug so we don't forget? > > http://bugs.freebsd.org/submit/ The proposed fix, while it might fix the immediate issue, might still not fix pointer aliasing. Perhaps there needs to be some struct or union defined and used to avoid the aliasing.