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:
parent
bf27d10262
commit
64a507ad6b
|
@ -8,7 +8,7 @@
|
|||
|
||||
#include <sys/param.h>
|
||||
|
||||
#if __FreeBSD_version < 1400000
|
||||
#if __FreeBSD_version < 1300507
|
||||
#include <sys/smp.h>
|
||||
#include <sys/gtaskqueue.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue