Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jul 2005 18:24:03 +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 bridge.c
Message-ID:  <200507031824.j63IO3Bs009536@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
thompsa     2005-07-03 18:24:03 UTC

  FreeBSD src repository

  Modified files:
    sys/net              bridge.c 
  Log:
  Check the alignment of the IP header before passing the packet up to the
  packet filter. This would cause a panic on architectures that require strict
  alignment such as sparc64, ia64 and ppc.
  
  This uses the code block from if_bridge and the newly added macro
  IP_HDR_ALIGNED_P().
  
  This /might/ be a temporary messure before all NIC drivers are educated
  to align the header themself.
  
  PR:             ia64/81284
  Obtained from:  NetBSD (if_bridge)
  Approved by:    re (dwhite), mlaier (mentor)
  
  Revision  Changes    Path
  1.93      +13 -0     src/sys/net/bridge.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507031824.j63IO3Bs009536>