Package: r8168-dkms Version: 8.044.02-1 Severity: normal Tags: patch Module will not build from kernel version of 4.11 and above. Specifically due to commit 4a7c972644c1151f6dd34ff4b5f7eacb239e22ee. I am also including patch to fix this issue. It is implemented the same way as seen in kernel.
-- System Information: Debian Release: 9.0 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (100, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.11.0-trunk-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages r8168-dkms depends on: ii dkms 2.3-3 r8168-dkms recommends no packages. r8168-dkms suggests no packages. -- no debconf information
diff --git a/src/r8168_n.c b/src/r8168_n.c index 3c5a7e7..4086291 100755 --- a/src/r8168_n.c +++ b/src/r8168_n.c @@ -25731,8 +25731,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++; }