From owner-cvs-src@FreeBSD.ORG  Sun Jul  3 23:41:57 2005
Return-Path: <owner-cvs-src@FreeBSD.ORG>
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 3909616A421
	for <cvs-src@FreeBSD.org>; Sun,  3 Jul 2005 23:41:57 +0000 (GMT)
	(envelope-from silby@silby.com)
Received: from relay03.pair.com (relay03.pair.com [209.68.5.17])
	by mx1.FreeBSD.org (Postfix) with SMTP id 961C343D45
	for <cvs-src@FreeBSD.org>; Sun,  3 Jul 2005 23:41:56 +0000 (GMT)
	(envelope-from silby@silby.com)
Received: (qmail 10946 invoked from network); 3 Jul 2005 23:41:55 -0000
Received: from unknown (HELO localhost) (unknown)
	by unknown with SMTP; 3 Jul 2005 23:41:55 -0000
X-pair-Authenticated: 209.68.2.70
Date: Sun, 3 Jul 2005 18:41:36 -0500 (CDT)
From: Mike Silbersack <silby@silby.com>
To: Andrew Thompson <thompsa@FreeBSD.org>
In-Reply-To: <200507031824.j63IO3Bs009536@repoman.freebsd.org>
Message-ID: <20050703184013.U21939@odysseus.silby.com>
References: <200507031824.j63IO3Bs009536@repoman.freebsd.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject: Re: cvs commit: src/sys/net bridge.c
X-BeenThere: cvs-src@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit messages for the src tree <cvs-src.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>,
	<mailto:cvs-src-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/cvs-src>
List-Post: <mailto:cvs-src@freebsd.org>
List-Help: <mailto:cvs-src-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>,
	<mailto:cvs-src-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 03 Jul 2005 23:41:57 -0000


On Sun, 3 Jul 2005, Andrew Thompson wrote:

> thompsa     2005-07-03 18:24:03 UTC
>
>  FreeBSD src repository
>
>  Modified files:
>    sys/net              bridge.c
>  Log:
>  Check the alignment of the IP header before passing the packet up to the
>  packet filter. This would cause a panic on architectures that require strict
>  alignment such as sparc64, ia64 and ppc.

What's the route that a packet takes before it gets to the bridge?  If it 
goes through ether_input, it would make sense to put the alignment there 
when necessary.

By the way, which network drivers are not aligning to the ip header right 
now?

Mike "Silby" Silbersack