diff options
author | ps <ps@FreeBSD.org> | 2006-03-03 22:36:52 +0000 |
---|---|---|
committer | ps <ps@FreeBSD.org> | 2006-03-03 22:36:52 +0000 |
commit | 00f6401a915668e081530bb7039ea323db606098 (patch) | |
tree | 6dd618ab82d1b5993d360e446755637efa181b70 /lib/librt | |
parent | 0ac62e02bddc3f1147599efe9997fc4b09f1d642 (diff) | |
download | FreeBSD-src-00f6401a915668e081530bb7039ea323db606098.zip FreeBSD-src-00f6401a915668e081530bb7039ea323db606098.tar.gz |
Fix bug in malloc_uninit():
Releasing items from the mt_zone can not be done by a simple
uma_zfree() call since mt_zone is allocated with the UMA_ZONE_MALLOC
flag. Use uma_zfree_arg instead and supply the slab.
This bug caused panics in low memory situations on unloading kernel
modules containing MALLOC_DEFINE(..) statements.
Submitted by: ups
Diffstat (limited to 'lib/librt')
0 files changed, 0 insertions, 0 deletions