Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Dec 2006 19:58:04 +0000 (UTC)
From:      Randall Stewart <rrs@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern uipc_mbuf.c
Message-ID:  <200612211958.kBLJw4iD003457@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rrs         2006-12-21 19:58:04 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             uipc_mbuf.c 
  Log:
  The prepend function did not handle non-pkthdr's correctly.
  It always called MH_ALIGN for small lengths being
  prepended (less than MHLEN). This meant that if you did
  a prepend on a non M_PKTHDR the system would panic with
  the KASSERT in MH_ALIGN. Instead we are not aware of
  this and do a MH_ALIGN or M_ALIGN as appropriate.
  
  Reviewed by:    andre
  Approved by:    gnn
  
  Revision  Changes    Path
  1.170     +7 -2      src/sys/kern/uipc_mbuf.c



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