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-64a507ad6b3c7e8455c67b452160b9e4211fd872.tar.xz
wireguard-freebsd-64a507ad6b3c7e8455c67b452160b9e4211fd872.zip
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>
-rw-r--r--src/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compat.h b/src/compat.h
index 575b44d..68b108c 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>