1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-13 11:01:50 +00:00
openmptcprouter-feeds/r8168/patches/900-6.6-support.patch
Ycarus (Yannick Chabanois) 00164ca23f Update Realtek r8168
2023-11-22 20:09:56 +01:00

13 lines
292 B
Diff

--- a/src/r8168_n.c 2023-10-20 17:46:41.593467802 +0200
+++ b/src/r8168_n.c 2023-10-20 17:47:59.460123974 +0200
@@ -82,6 +82,10 @@
#include <linux/mdio.h>
#endif
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,5,0)
+#include <net/gso.h>
+#endif
+
#include <asm/io.h>
#include <asm/irq.h>