]> git.pld-linux.org Git - packages/r8168.git/blame - linux-4.11.patch
- fix building with kernel 4.11
[packages/r8168.git] / linux-4.11.patch
CommitLineData
fe361217
JR
1--- r8168-8.042.00/src/r8168_n.c~ 2017-05-10 00:51:08.000000000 +0200
2+++ r8168-8.042.00/src/r8168_n.c 2017-05-10 00:51:48.529625066 +0200
3@@ -25251,7 +25251,9 @@
4 if (rtl8168_rx_vlan_skb(tp, desc, skb) < 0)
5 rtl8168_rx_skb(tp, skb);
6
7+#if LINUX_VERSION_CODE < KERNEL_VERSION(4,11,0)
8 dev->last_rx = jiffies;
9+#endif
10 RTLDEV->stats.rx_bytes += pkt_size;
11 RTLDEV->stats.rx_packets++;
12 }
This page took 0.072195 seconds and 4 git commands to generate.