aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-06-07 11:50:20 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2021-06-07 11:51:17 +0200
commit64a507ad6b3c7e8455c67b452160b9e4211fd872 (patch)
tree448d0e641c6df5e98ba64b36bfdb5eb2deef2fa2
parentversion: bump (diff)
downloadwireguard-freebsd-master.tar.xz
wireguard-freebsd-master.zip
compat: taskqueue draining was backported to stable/13HEADmaster
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>
-rw-r--r--src/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compat.h b/src/compat.h
index 575b44d2d8d5..68b108c09f20 100644
--- a/src/compat.h
+++ b/src/compat.h
@@ -8,7 +8,7 @@
#include <sys/param.h>
-#if __FreeBSD_version < 1400000
+#if __FreeBSD_version < 1300507
#include <sys/smp.h>
#include <sys/gtaskqueue.h>