core/r8168/linux-4.5.patch
2016-04-23 13:35:00 +01:00

14 lines
499 B
Diff

diff --git a/src/r8168_n.c b/src/r8168_n.c
index d197630..b47419d 100755
--- a/src/r8168_n.c
+++ b/src/r8168_n.c
@@ -4209,7 +4209,7 @@ static netdev_features_t rtl8168_fix_features(struct net_device *dev,
spin_lock_irqsave(&tp->lock, flags);
if (dev->mtu > ETH_DATA_LEN) {
features &= ~NETIF_F_ALL_TSO;
- features &= ~NETIF_F_ALL_CSUM;
+ features &= ~NETIF_F_CSUM_MASK;
}
spin_unlock_irqrestore(&tp->lock, flags);