aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/tests/qemu/Makefile
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-11-25 21:14:50 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2016-11-29 13:18:33 +0100
commitfa449736cd339c8b81a757ce5f156625a05810e4 (patch)
tree735a0690b5348d52928dfeff4231e34521470000 /src/tests/qemu/Makefile
parentdevice: conntrack is optional (diff)
downloadwireguard-linux-compat-fa449736cd339c8b81a757ce5f156625a05810e4.tar.xz
wireguard-linux-compat-fa449736cd339c8b81a757ce5f156625a05810e4.zip
ratelimiter: load hashlimit at modinsert time
This fixes a potential race with net_lock and rtnl_lock. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/tests/qemu/Makefile')
-rw-r--r--src/tests/qemu/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/qemu/Makefile b/src/tests/qemu/Makefile
index 19ad613..b60aa5a 100644
--- a/src/tests/qemu/Makefile
+++ b/src/tests/qemu/Makefile
@@ -106,7 +106,7 @@ $(KERNEL_PATH)/.installed: $(KERNEL_TAR)
mkdir -p $(BUILD_PATH)
tar -C $(BUILD_PATH) -xf $<
sed -i "/^if INET\$$/a source \"net/wireguard/Kconfig\"" $(KERNEL_PATH)/net/Kconfig
- sed -i "/^obj-\$$(CONFIG_NET).*:=/a obj-\$$(CONFIG_WIREGUARD) += wireguard/" $(KERNEL_PATH)/net/Makefile
+ sed -i "/^obj-\$$(CONFIG_NETFILTER).*+=/a obj-\$$(CONFIG_WIREGUARD) += wireguard/" $(KERNEL_PATH)/net/Makefile
ln -sf $(shell readlink -f ../..) $(KERNEL_PATH)/net/wireguard
touch $@