Print this page
XXXX introduce drv_sectohz

@@ -716,11 +716,11 @@
                         KCF_PROV_REFRELE(provider);
 
                 /* Wait till the existing requests complete. */
                 while (kcf_get_refcnt(provider, B_TRUE) > 0) {
                         /* wait 1 second and try again. */
-                        delay(1 * drv_usectohz(1000000));
+                        delay(drv_sectohz(1));
                 }
         }
 
         if (new_count == 0) {
                 kcf_policy_remove_by_name(name, &prev_count, &prev_array);