From owner-cvs-src@FreeBSD.ORG Thu Aug 11 20:58:00 2005 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 3D25C16A41F; Thu, 11 Aug 2005 20:58:00 +0000 (GMT) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECBF743D48; Thu, 11 Aug 2005 20:57:59 +0000 (GMT) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j7BKvxRq083145; Thu, 11 Aug 2005 20:57:59 GMT (envelope-from thompsa@repoman.freebsd.org) Received: (from thompsa@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j7BKvxVs083144; Thu, 11 Aug 2005 20:57:59 GMT (envelope-from thompsa) Message-Id: <200508112057.j7BKvxVs083144@repoman.freebsd.org> From: Andrew Thompson Date: Thu, 11 Aug 2005 20:57:59 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/net if_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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Aug 2005 20:58:00 -0000 thompsa 2005-08-11 20:57:59 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/net if_bridge.c Log: MFC: if_bridge.c, r.1.5 > Use m_copypacket() which is an optimization of the common case > m_copym(m, 0, M_COPYALL, how). > > This is required for strict alignment architectures where we align the > IP header in the input path but m_copym() will create an unaligned copy > in bridge_broadcast(). m_copypacket() preserves alignment of the first > mbuf. > > Noticed by: Petri Simolin > Approved by: mlaier (mentor) Approved by: re (kensmith), mlaier (mentor) Revision Changes Path 1.11.2.4 +2 -2 src/sys/net/if_bridge.c