cvs commit: src/sys/kern subr_mbuf.c src/sys/sys mbuf.h

Mike Silbersack silby at FreeBSD.org
Thu May 1 20:43:41 PDT 2003


silby       2003/05/01 20:43:40 PDT

  FreeBSD src repository

  Modified files:
    sys/kern             subr_mbuf.c 
    sys/sys              mbuf.h 
  Log:
  Add the M_FREELIST flag, which is used to detect whenever a
  double free of a mbuf occurs and cause an immediate panic, rather
  than allowing free list corruption to occur.
  
  This code is trapped under INVARIANTS, so it should not cause any
  change in default performance.
  
  Reviewed by:    a bunch of people on -net
  MFC after:      1 week
  
  Revision  Changes    Path
  1.47      +10 -0     src/sys/kern/subr_mbuf.c
  1.121     +1 -0      src/sys/sys/mbuf.h


More information about the cvs-src mailing list