domain: Use designated constants for timeout periods

No functional change intended.

MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Mark Johnston 2022-08-02 20:31:29 -04:00
parent 8b57548e9a
commit 852695416c

View File

@ -493,7 +493,7 @@ pfslowtimo(void *arg)
}
NET_EPOCH_EXIT(et);
rm_runlock(&pftimo_lock, &tracker);
callout_reset(&pfslow_callout, hz/2, pfslowtimo, NULL);
callout_reset(&pfslow_callout, hz / PR_SLOWHZ, pfslowtimo, NULL);
}
static void
@ -510,5 +510,5 @@ pffasttimo(void *arg)
}
NET_EPOCH_EXIT(et);
rm_runlock(&pftimo_lock, &tracker);
callout_reset(&pffast_callout, hz/5, pffasttimo, NULL);
callout_reset(&pffast_callout, hz / PR_FASTHZ, pffasttimo, NULL);
}