|
@@ -285,7 +285,8 @@ static void veth_setup(struct net_device *dev)
|
|
dev->ethtool_ops = &veth_ethtool_ops;
|
|
dev->ethtool_ops = &veth_ethtool_ops;
|
|
dev->features |= NETIF_F_LLTX;
|
|
dev->features |= NETIF_F_LLTX;
|
|
dev->features |= VETH_FEATURES;
|
|
dev->features |= VETH_FEATURES;
|
|
- dev->vlan_features = dev->features;
|
|
|
|
|
|
+ dev->vlan_features = dev->features &
|
|
|
|
+ ~(NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_STAG_TX);
|
|
dev->destructor = veth_dev_free;
|
|
dev->destructor = veth_dev_free;
|
|
|
|
|
|
dev->hw_features = VETH_FEATURES;
|
|
dev->hw_features = VETH_FEATURES;
|