aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/kernel-tree-scripts
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 /kernel-tree-scripts
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 'kernel-tree-scripts')
-rwxr-xr-xkernel-tree-scripts/create-patch.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel-tree-scripts/create-patch.sh b/kernel-tree-scripts/create-patch.sh
index e40e4a4..57ca44d 100755
--- a/kernel-tree-scripts/create-patch.sh
+++ b/kernel-tree-scripts/create-patch.sh
@@ -14,7 +14,7 @@ cat <<_EOF
+source "net/wireguard/Kconfig"
--- a/net/Makefile
+++ b/net/Makefile
-@@ -8,1 +8,2 @@
- obj-\$(CONFIG_NET) := socket.o core/
+@@ -9,1 +9,2 @@
+ obj-\$(CONFIG_NETFILTER) += netfilter/
+obj-\$(CONFIG_WIREGUARD) += wireguard/
_EOF