summaryrefslogtreecommitdiff
path: root/net-misc/r8168/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-04-28 20:02:04 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-04-28 20:02:04 +0100
commita4e2a46beb5e4858ef27bdedbb0ff6d2ced430ad (patch)
tree852c90a4bf354c30ea66504f70bfab5401fba18d /net-misc/r8168/files
parent5e8702bcbbed438e6c6cce023e7ef0cc9baa3e02 (diff)
gentoo resync : 28.04.2018
Diffstat (limited to 'net-misc/r8168/files')
-rw-r--r--net-misc/r8168/files/r8168-8.044.02-linux-4.11.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/net-misc/r8168/files/r8168-8.044.02-linux-4.11.patch b/net-misc/r8168/files/r8168-8.044.02-linux-4.11.patch
deleted file mode 100644
index ba1dd372dfab..000000000000
--- a/net-misc/r8168/files/r8168-8.044.02-linux-4.11.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff a/src/r8168.h b/src/r8168.h
---- a/src/r8168.h 2017-01-11 14:19:18.000000000 +0800
-+++ b/src/r8168.h 2017-05-02 21:18:54.541652414 +0800
-@@ -36,6 +36,10 @@
- #include "r8168_realwow.h"
- #include "r8168_fiber.h"
-
-+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0))
-+#include <linux/sched/signal.h>
-+#endif
-+
- #if LINUX_VERSION_CODE < KERNEL_VERSION(4,0,0)
- #if defined(skb_vlan_tag_present) && !defined(vlan_tx_tag_present)
- #define vlan_tx_tag_present skb_vlan_tag_present
-diff a/src/r8168_n.c b/src/r8168_n.c
---- a/src/r8168_n.c 2017-01-11 14:18:43.000000000 +0800
-+++ b/src/r8168_n.c 2017-05-02 21:20:57.488644205 +0800
-@@ -25732,7 +25732,9 @@
- if (rtl8168_rx_vlan_skb(tp, desc, skb) < 0)
- rtl8168_rx_skb(tp, skb);
-
-+#if (LINUX_VERSION_CODE <= KERNEL_VERSION(4, 10, 0))
- dev->last_rx = jiffies;
-+#endif
- RTLDEV->stats.rx_bytes += pkt_size;
- RTLDEV->stats.rx_packets++;
- }