diff options
author | 2016-11-25 21:14:50 +0100 | |
---|---|---|
committer | 2016-11-29 13:18:33 +0100 | |
commit | e1f203488cc652bbb6b062bf1eb454982e95cca6 (patch) | |
tree | 4bd4b17848a983aaad7b1fc024ba21ef8afffd42 /contrib/kernel-tree/create-patch.sh | |
parent | device: conntrack is optional (diff) | |
download | wireguard-monolithic-historical-e1f203488cc652bbb6b062bf1eb454982e95cca6.tar.xz wireguard-monolithic-historical-e1f203488cc652bbb6b062bf1eb454982e95cca6.zip |
ratelimiter: load hashlimit at modinsert time
This fixes a potential race with net_lock and rtnl_lock.
Diffstat (limited to 'contrib/kernel-tree/create-patch.sh')
-rwxr-xr-x | contrib/kernel-tree/create-patch.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/kernel-tree/create-patch.sh b/contrib/kernel-tree/create-patch.sh index e40e4a4..57ca44d 100755 --- a/contrib/kernel-tree/create-patch.sh +++ b/contrib/kernel-tree/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 |