aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/contrib/kernel-tree/create-patch.sh
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-01-24 04:50:35 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2017-02-13 21:55:17 +0100
commitd78302d1ec947665f9d880e25b3a7e79fb56fc0e (patch)
treeb9d56e1b4ef5ae40e539a7a44b68651f43c078ee /contrib/kernel-tree/create-patch.sh
parentsocket: synchronize net on socket tear down (diff)
downloadwireguard-monolithic-historical-d78302d1ec947665f9d880e25b3a7e79fb56fc0e.tar.xz
wireguard-monolithic-historical-d78302d1ec947665f9d880e25b3a7e79fb56fc0e.zip
compat: backport siphash & dst_cache from mainline
Diffstat (limited to '')
-rwxr-xr-xcontrib/kernel-tree/create-patch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/kernel-tree/create-patch.sh b/contrib/kernel-tree/create-patch.sh
index 57ca44d..915af20 100755
--- a/contrib/kernel-tree/create-patch.sh
+++ b/contrib/kernel-tree/create-patch.sh
@@ -2,7 +2,7 @@
WG="$(readlink -f "$(dirname "$(readlink -f "$0")")/../../src/")"
-for i in "$WG"/*.c "$WG"/*.h "$WG"/selftest/*.h "$WG"/crypto/*.c "$WG"/crypto/*.h "$WG"/crypto/*.S "$WG"/Kbuild "$WG"/Kconfig; do
+for i in "$WG"/*.c "$WG"/*.h "$WG"/selftest/*.h "$WG"/crypto/*.c "$WG"/crypto/*.h "$WG"/crypto/*.S "$WG"/Kbuild "$WG"/Kconfig $(find "$WG"/compat -name '*.c' -o -name '*.h' -o -name '*.include'); do
diff -u /dev/null "$i" | sed "s:${WG}:b/net/wireguard:;s:Kbuild:Makefile:"
done