Date: Wed, 29 Jun 2005 08:18:26 +0000 (UTC) From: Mike Silbersack <silby@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_mbuf.c Message-ID: <200506290818.j5T8IQZU057005@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
silby 2005-06-29 08:18:26 UTC FreeBSD src repository Modified files: sys/kern kern_mbuf.c Log: 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 work. Approved by: re (dwhite) Revision Changes Path 1.9 +3 -0 src/sys/kern/kern_mbuf.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506290818.j5T8IQZU057005>