kernel - fix bug in objcache_destroy()
commitdd00f6f349508aeb03c8d223eb2f59c748a666c9
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 13 Feb 2010 06:06:06 +0000 (12 22:06 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 13 Feb 2010 06:16:14 +0000 (12 22:16 -0800)
tree8d5cddb6aff1b1491e3dc6d73ebb12df3357c0db
parent9fc94b5f0ece4794f4f859f149d8f61883bccf70
kernel - fix bug in objcache_destroy()

* objcache_destroy() calls mag_purge() which cycles the critical
  section, except objecache_destroy() never entered into a critical
  section so this panics instead.
sys/kern/kern_objcache.c