Index: linux-2.6/mm/slob.c =================================================================== --- linux-2.6.orig/mm/slob.c +++ linux-2.6/mm/slob.c @@ -296,7 +296,7 @@ struct kmem_cache *kmem_cache_create(con c->name = name; c->size = size; if (flags & SLAB_DESTROY_BY_RCU) { - BUG_ON(c->dtor); + BUG_ON(dtor); /* leave room for rcu footer at the end of object */ c->size += sizeof(struct slob_rcu); }