]> git.pld-linux.org Git - packages/r8168.git/blob - linux-4.5.patch
- up to 8.041.01
[packages/r8168.git] / linux-4.5.patch
1 --- r8168-8.041.01/src/r8168_n.c~       2015-10-06 08:33:04.000000000 +0200
2 +++ r8168-8.041.01/src/r8168_n.c        2016-04-26 07:48:15.696296115 +0200
3 @@ -4209,7 +4209,11 @@
4          spin_lock_irqsave(&tp->lock, flags);
5          if (dev->mtu > ETH_DATA_LEN) {
6                  features &= ~NETIF_F_ALL_TSO;
7 +#if LINUX_VERSION_CODE < KERNEL_VERSION(4,5,0)
8                  features &= ~NETIF_F_ALL_CSUM;
9 +#else
10 +                features &= ~NETIF_F_CSUM_MASK;
11 +#endif
12          }
13          spin_unlock_irqrestore(&tp->lock, flags);
14  
This page took 0.065174 seconds and 3 git commands to generate.