diff --git a/sys/vm/uma_core.c b/sys/vm/uma_core.c index 8cd3666d97c2..025a5450f8e0 100644 --- a/sys/vm/uma_core.c +++ b/sys/vm/uma_core.c @@ -1980,7 +1980,7 @@ uma_zone_slab(uma_zone_t zone, int flags) * caller can't handle that. */ if (keg->uk_flags & UMA_ZFLAG_INTERNAL && keg->uk_recurse != 0) - if ((zone != slabzone) && (zone != slabrefzone)) + if (zone != slabzone && zone != slabrefzone && zone != zones) return (NULL); slab = NULL;