cvs commit: src/sys/kern kern_mbuf.c

Mike Silbersack silby at
Wed Jun 29 08:18:27 GMT 2005

silby       2005-06-29 08:18:26 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_mbuf.c 
  Fix the false memory modified after free messages some users have been
  reporting - in my previous change, I missed the case where a mbuf
  from the packet zone was freed back to the mbuf/packet keg, where
  it was subsequently put into the mbuf zone and found not to contain
  the expected trash.  This change adds the necessary trash_dtor call inside
  mb_fini_pack so that everything is correct.
  Thanks for Bosko for finding the bug and showing me how secondary zones
  Approved by:    re (dwhite)
  Revision  Changes    Path
  1.9       +3 -0      src/sys/kern/kern_mbuf.c

More information about the cvs-src mailing list