X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=net%2Fcore%2Fdev.c;h=7741507429f4bb3c09e55c4f5cca0022711354d3;hp=54277df0f735abf601a44053fa29c9f85cc5c87b;hb=a5db219f4cf9f67995eabd53b81a1232c82f5852;hpb=c56eb8fb6dccb83d9fe62fd4dc00c834de9bc470 diff --git a/net/core/dev.c b/net/core/dev.c index 54277df0f735..7741507429f4 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); } }