|
@@ -593,8 +593,7 @@ static u32 vlan_dev_fix_features(struct net_device *dev, u32 features)
|
|
features &= real_dev->features;
|
|
features &= real_dev->features;
|
|
features &= real_dev->vlan_features;
|
|
features &= real_dev->vlan_features;
|
|
|
|
|
|
- if (old_features & NETIF_F_SOFT_FEATURES)
|
|
|
|
- features |= old_features & NETIF_F_SOFT_FEATURES;
|
|
|
|
|
|
+ features |= old_features & NETIF_F_SOFT_FEATURES;
|
|
|
|
|
|
if (dev_ethtool_get_rx_csum(real_dev))
|
|
if (dev_ethtool_get_rx_csum(real_dev))
|
|
features |= NETIF_F_RXCSUM;
|
|
features |= NETIF_F_RXCSUM;
|