Date: Fri, 12 Aug 2005 00:32:27 +0200 From: Max Laier <max@love2party.net> To: Andrew Thompson <thompsa@freebsd.org> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/net if_bridge.c Message-ID: <200508120032.44995.max@love2party.net> In-Reply-To: <200508112057.j7BKvxVs083144@repoman.freebsd.org> References: <200508112057.j7BKvxVs083144@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart3693604.aUbEoAyLbo Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 11 August 2005 22:57, Andrew Thompson wrote: > 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 co= py > > in bridge_broadcast(). m_copypacket() preserves alignment of the first > > mbuf. I guess we should document this difference between m_copym and m_copypacket= ?! > > 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 =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart3693604.aUbEoAyLbo Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBC+9IMXyyEoT62BG0RAko8AJoCNLEc5a1Hw23HpGXXgs8RCrCknwCeIIY1 t+vRNyftWudlv8cGWA5RrV0= =kVbc -----END PGP SIGNATURE----- --nextPart3693604.aUbEoAyLbo--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508120032.44995.max>