From e1f203488cc652bbb6b062bf1eb454982e95cca6 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Fri, 25 Nov 2016 21:14:50 +0100 Subject: ratelimiter: load hashlimit at modinsert time This fixes a potential race with net_lock and rtnl_lock. --- src/tests/qemu/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tests') 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 $@ -- cgit v1.2.3-59-g8ed1b