Overview

Request 5818 (accepted)

- Add patch skb_gso_segment.patch to make it build with latest 6.4

Submit package home:bitstreamout:Essentials / r8168 to package Essentials / r8168

r8168.changes Changed
x
 
1
@@ -1,4 +1,9 @@
2
 -------------------------------------------------------------------
3
+Mon Aug 14 11:23:04 UTC 2023 - https://www.suse.com/
4
+
5
+- Add patch skb_gso_segment.patch to make it build with latest 6.4 
6
+
7
+-------------------------------------------------------------------
8
 Wed May 10 10:55:42 UTC 2023 - https://www.suse.com/
9
 
10
 - For Leap 15.5 the kernel 5.14.0 behaves like a 5.17.0 at ethtool.h 
11
r8168.spec Changed
17
 
1
@@ -33,6 +33,7 @@
2
 Patch3:         r8168-support-linux-6.1.0.patch
3
 Patch4:         r8168-support-dev0x8136.patch
4
 Patch5:         r8168-support-linux-L15.5.patch
5
+Patch6:         skb_gso_segment.patch
6
 BuildRequires:  kernel-source
7
 BuildRequires:  kernel-syms
8
 BuildRequires:  libelf-devel
9
@@ -73,6 +74,7 @@
10
 %patch5 -b .p5
11
     fi
12
 fi
13
+%patch6 -p1 -b .p6
14
 cp %{S:1} .
15
 cp %{S:2} .
16
 
17
r8168-kernel_version.patch Changed
10
 
1
@@ -61,7 +61,7 @@
2
  {
3
          struct rtl8168_private *tp = netdev_priv(dev);
4
          unsigned long flags;
5
-@@ -29676,7 +29685,7 @@ process_pkt:
6
+@@ -29672,7 +29685,7 @@ process_pkt:
7
  
8
                          if (rtl8168_rx_vlan_skb(tp, desc, skb) < 0)
9
                                  rtl8168_rx_skb(tp, skb);
10
r8168-support-dev0x8136.patch Changed
10
 
1
@@ -12,7 +12,7 @@
2
 index 28d7636..cbf43d1 100755
3
 --- a/src/r8168_n.c
4
 +++ b/src/r8168_n.c
5
-@@ -397,6 +397,7 @@ static const struct {
6
+@@ -411,6 +411,7 @@ static const struct {
7
  
8
  static struct pci_device_id rtl8168_pci_tbl = {
9
          { PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8168), },
10
skb_gso_segment.patch Added
27
 
1
@@ -0,0 +1,25 @@
2
+From fc2e0d28c79d3f6ef052d85a7cb146610554ff22 Mon Sep 17 00:00:00 2001
3
+From: safocl <safocl88@gmail.com>
4
+Date: Sun, 13 Aug 2023 04:23:03 +0400
5
+Subject: PATCH Fix missing skb_gso_segment function declaration This
6
+ motivation from this issue(https://github.com/mtorromeo/r8168/issues/54)
7
+
8
+---
9
+ src/r8168_n.c | 4 ++++
10
+ 1 file changed, 4 insertions(+)
11
+
12
+diff --git a/src/r8168_n.c b/src/r8168_n.c
13
+index 7e9e2ea..3855910 100755
14
+--- a/src/r8168_n.c
15
++++ b/src/r8168_n.c
16
+@@ -86,6 +86,10 @@
17
+ #include <linux/mdio.h>
18
+ #endif
19
+ 
20
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,4,10)
21
++#include <net/gso.h>
22
++#endif
23
++
24
+ #include <asm/io.h>
25
+ #include <asm/irq.h>
26
+ 
27
Refresh


Request History
bitstreamout's avatar

bitstreamout created request over 1 year ago

- Add patch skb_gso_segment.patch to make it build with latest 6.4


bitstreamout's avatar

bitstreamout accepted request over 1 year ago

OK