diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-06-07 11:50:20 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-06-07 11:51:17 +0200 |
commit | 64a507ad6b3c7e8455c67b452160b9e4211fd872 (patch) | |
tree | 448d0e641c6df5e98ba64b36bfdb5eb2deef2fa2 | |
parent | version: bump (diff) | |
download | wireguard-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.h | 2 |
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> |