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:
parent
8b57548e9a
commit
852695416c
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user