cvs commit: src/sys/net if_bridge.c

Andrew Thompson thompsa at
Thu Aug 11 20:58:00 GMT 2005

thompsa     2005-08-11 20:57:59 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/net              if_bridge.c 
  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  +2 -2      src/sys/net/if_bridge.c

More information about the cvs-src mailing list