1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-12 10:31:51 +00:00
openmptcprouter-feeds/ovpn-dco/patches/900-fix-linux-6.6.patch
Ycarus (Yannick Chabanois) c5f157eddd Add OpenVPN DCO 6.11 support
2024-09-30 09:07:04 +02:00

15 lines
374 B
Diff

diff --git a/drivers/net/ovpn-dco/ovpn.c b/drivers/net/ovpn-dco/ovpn.c
index 66c0191..6cc426a 100644
--- a/drivers/net/ovpn-dco/ovpn.c
+++ b/drivers/net/ovpn-dco/ovpn.c
@@ -21,6 +21,10 @@
#include "tcp.h"
#include "udp.h"
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,4,10)
+#include <net/gso.h>
+#endif
+
#include <linux/workqueue.h>
#include <uapi/linux/if_ether.h>