diff options
author | Hunter Sezen <ovariegata@yahoo.com> | 2017-07-11 00:22:04 +0100 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-07-12 16:39:22 +0100 |
commit | 53ffcee65b795a032e7f0b31ac1aeaa2e5da6623 (patch) | |
tree | 73fdb0744eefce196eb4b6d5c006c37a465f2eed /network/r8168/r8168-linux-4.11.patch | |
parent | e3215e08f522c85c2f1a0b3a5c18162ef5bcfdfd (diff) | |
download | slackbuilds-53ffcee65b795a032e7f0b31ac1aeaa2e5da6623.tar.gz |
network/r8168: Updated for version 8.044.02.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/r8168/r8168-linux-4.11.patch')
-rw-r--r-- | network/r8168/r8168-linux-4.11.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/network/r8168/r8168-linux-4.11.patch b/network/r8168/r8168-linux-4.11.patch new file mode 100644 index 0000000000..5d8d451cdf --- /dev/null +++ b/network/r8168/r8168-linux-4.11.patch @@ -0,0 +1,14 @@ +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++; + } |