ktls: fix NOINET build
Reported by: mjguzik Sponsored by: Netflix
This commit is contained in:
parent
d7955cc0ff
commit
4150a5a87e
@ -2202,6 +2202,7 @@ ktls_work_thread(void *ctx)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(INET) || defined(INET6)
|
||||||
static void
|
static void
|
||||||
ktls_disable_ifnet_help(void *context, int pending __unused)
|
ktls_disable_ifnet_help(void *context, int pending __unused)
|
||||||
{
|
{
|
||||||
@ -2294,3 +2295,4 @@ ktls_disable_ifnet(void *arg)
|
|||||||
TASK_INIT(&tls->disable_ifnet_task, 0, ktls_disable_ifnet_help, tls);
|
TASK_INIT(&tls->disable_ifnet_task, 0, ktls_disable_ifnet_help, tls);
|
||||||
(void)taskqueue_enqueue(taskqueue_thread, &tls->disable_ifnet_task);
|
(void)taskqueue_enqueue(taskqueue_thread, &tls->disable_ifnet_task);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user