mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
9ef079c1d6
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
14 lines
520 B
Diff
14 lines
520 B
Diff
diff --git a/src/r8168_n.c b/src/r8168_n.c
|
|
index 3c5a7e7..e2026bb 100755
|
|
--- a/src/r8168_n.c
|
|
+++ b/src/r8168_n.c
|
|
@@ -25732,7 +25732,9 @@ process_pkt:
|
|
if (rtl8168_rx_vlan_skb(tp, desc, skb) < 0)
|
|
rtl8168_rx_skb(tp, skb);
|
|
|
|
+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0)
|
|
dev->last_rx = jiffies;
|
|
+#endif
|
|
RTLDEV->stats.rx_bytes += pkt_size;
|
|
RTLDEV->stats.rx_packets++;
|
|
}
|