aboutsummaryrefslogtreecommitdiffstats
path: root/community/wireguard-rpi/hack-5.4.29.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2020-04-02 06:04:22 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2020-04-02 06:05:22 +0000
commitf514abbf88c21cfceee3d94daae5956c1ac8df8c (patch)
tree95acb8b246b77db3b6b3647afadc92cad8a4a0ab /community/wireguard-rpi/hack-5.4.29.patch
parent2bf7646b9545e88cb74924ee1a8ac3da051fe94b (diff)
downloadaports-f514abbf88c21cfceee3d94daae5956c1ac8df8c.tar.bz2
aports-f514abbf88c21cfceee3d94daae5956c1ac8df8c.tar.xz
community/wireguard-rpi: upgrade to 1.0.20200330 and kernel 5.4.29
Diffstat (limited to 'community/wireguard-rpi/hack-5.4.29.patch')
-rw-r--r--community/wireguard-rpi/hack-5.4.29.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/community/wireguard-rpi/hack-5.4.29.patch b/community/wireguard-rpi/hack-5.4.29.patch
new file mode 100644
index 0000000000..255b8847d6
--- /dev/null
+++ b/community/wireguard-rpi/hack-5.4.29.patch
@@ -0,0 +1,20 @@
+diff --git a/src/compat/compat.h b/src/compat/compat.h
+index fe2d07e..7f23283 100644
+--- a/src/compat/compat.h
++++ b/src/compat/compat.h
+@@ -1024,15 +1024,6 @@ out:
+ #define COMPAT_CANNOT_USE_MAX_MTU
+ #endif
+
+-#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 6, 0)
+-#include <linux/skbuff.h>
+-static inline void skb_reset_redirect(struct sk_buff *skb)
+-{
+-#ifdef CONFIG_NET_SCHED
+- skb_reset_tc(skb);
+-#endif
+-}
+-#endif
+
+ #if defined(ISUBUNTU1604)
+ #include <linux/siphash.h>