compat: taskqueue draining was backported to stable/13

Since 407b687dfef ("Make sure all tasklets are drained before unloading
the LinuxKPI. Else use-after-free may happen."), stable/13 now has the
taskqueue API that we need.

Reported-by: Herbert J. Skuhra <herbert@gojira.at>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld 2021-06-07 11:50:20 +02:00
parent bf27d10262
commit 64a507ad6b
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
#include <sys/param.h>
#if __FreeBSD_version < 1400000
#if __FreeBSD_version < 1300507
#include <sys/smp.h>
#include <sys/gtaskqueue.h>