Garrett, Thanks for the review.
> Looks good to me... Obvious bug, and an obvious fix. Can you double > check that the free code uses the same calculation properly? > Yes. The code is in dprov_detach() as I stated in the evaluation of the bug. kmem allocator does a good job of catching these kind of errors. -Krishna >> >> The webrev is at >> http://cr.opensolaris.org/~krishna/dprov_fix/ >> >>