From 79a7dc4da9702d05c5085acffe1c4f9cf72c26a6 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Wed, 21 Jun 2017 03:55:31 +0200 Subject: ratelimiter: rewrite from scratch This not only removes the depenency on x_tables, but it also gives us much better performance and memory usage. Now, systems are able to have millions of WireGuard interfaces, without having to worry about a thundering herd of garbage collection. --- src/Kbuild | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/Kbuild') diff --git a/src/Kbuild b/src/Kbuild index b03b29c..c5b8718 100644 --- a/src/Kbuild +++ b/src/Kbuild @@ -29,11 +29,6 @@ CONFIG_WIREGUARD := m ifneq ($(CONFIG_SMP),) ccflags-y += -DCONFIG_WIREGUARD_PARALLEL=y endif -ifneq ($(CONFIG_MODULES),) -ifeq ($(CONFIG_NETFILTER_XT_MATCH_HASHLIMIT),) -$(error "WireGuard requires CONFIG_NETFILTER_XT_MATCH_HASHLIMIT to be configured in your kernel. See https://www.wireguard.io/install/#kernel-requirements for more info") -endif -endif endif include $(src)/compat/Kbuild.include -- cgit v1.2.3-59-g8ed1b