aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/veth.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/veth.c')
-rw-r--r--drivers/net/veth.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/veth.c b/drivers/net/veth.c
index e1c77d4b80e4..b4a10bcb66a0 100644
--- a/drivers/net/veth.c
+++ b/drivers/net/veth.c
@@ -278,7 +278,10 @@ static void veth_setup(struct net_device *dev)
278 dev->features |= NETIF_F_LLTX; 278 dev->features |= NETIF_F_LLTX;
279 dev->features |= VETH_FEATURES; 279 dev->features |= VETH_FEATURES;
280 dev->vlan_features = dev->features & 280 dev->vlan_features = dev->features &
281 ~(NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_STAG_TX); 281 ~(NETIF_F_HW_VLAN_CTAG_TX |
282 NETIF_F_HW_VLAN_STAG_TX |
283 NETIF_F_HW_VLAN_CTAG_RX |
284 NETIF_F_HW_VLAN_STAG_RX);
282 dev->destructor = veth_dev_free; 285 dev->destructor = veth_dev_free;
283 286
284 dev->hw_features = VETH_FEATURES; 287 dev->hw_features = VETH_FEATURES;