diff --git a/sys/kern/uipc_ktls.c b/sys/kern/uipc_ktls.c index 47815c266667..1cc1f2e8b8c4 100644 --- a/sys/kern/uipc_ktls.c +++ b/sys/kern/uipc_ktls.c @@ -2240,7 +2240,7 @@ ktls_alloc_thread(void *ctx) nbufs = 0; for (;;) { atomic_store_int(&sc->running, 0); - tsleep_sbt(sc, PZERO, "waiting for work", SBT_MAX, SBT_1S, 0); + tsleep(sc, PZERO | PNOLOCK, "-", 0); atomic_store_int(&sc->running, 1); sc->wakeups++; if (nbufs != ktls_max_alloc) {