Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Aug 2005 22:21:55 +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:  <200508082221.j78MLtVf059124@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
thompsa     2005-08-08 22:21:55 UTC

  FreeBSD src repository

  Modified files:
    sys/net              if_bridge.c 
  Log:
  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)
  MFC after:      3 days
  
  Revision  Changes    Path
  1.15      +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?200508082221.j78MLtVf059124>