summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-01-18 16:28:31 -0800
committerDavid S. Miller <davem@davemloft.net>2011-01-18 16:28:31 -0800
commita5db219f4cf9f67995eabd53b81a1232c82f5852 (patch)
tree5fffcb7ebd543b39468822963f9190fe6bf41bff /net/core
parentc56eb8fb6dccb83d9fe62fd4dc00c834de9bc470 (diff)
parentff76015f3bdfbc482c723cb4f2559cef84d178ca (diff)
downloadop-kernel-dev-a5db219f4cf9f67995eabd53b81a1232c82f5852.zip
op-kernel-dev-a5db219f4cf9f67995eabd53b81a1232c82f5852.tar.gz
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Diffstat (limited to 'net/core')
-rw-r--r--net/core/dev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/core/dev.c b/net/core/dev.c
index 54277df..7741507 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -2023,13 +2023,13 @@ int netif_skb_features(struct sk_buff *skb)
return harmonize_features(skb, protocol, features);
}
- features &= skb->dev->vlan_features;
+ features &= (skb->dev->vlan_features | NETIF_F_HW_VLAN_TX);
if (protocol != htons(ETH_P_8021Q)) {
return harmonize_features(skb, protocol, features);
} else {
features &= NETIF_F_SG | NETIF_F_HIGHDMA | NETIF_F_FRAGLIST |
- NETIF_F_GEN_CSUM;
+ NETIF_F_GEN_CSUM | NETIF_F_HW_VLAN_TX;
return harmonize_features(skb, protocol, features);
}
}
OpenPOWER on IntegriCloud