Date: Thu, 11 Aug 2005 20:57:59 +0000 (UTC) From: Andrew Thompson <thompsa@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net if_bridge.c Message-ID: <200508112057.j7BKvxVs083144@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508112057.j7BKvxVs083144>