diff options
author | Jeremy Erickson <jerickso@cs.unc.edu> | 2014-04-11 13:24:45 -0400 |
---|---|---|
committer | Jeremy Erickson <jerickso@cs.unc.edu> | 2014-04-11 13:24:45 -0400 |
commit | 438145c7ef5c9445f25bb8fc4d52e2c9d11fdc7c (patch) | |
tree | 76941991e36f4a32bf1be0db3854959053f24619 /net/8021q | |
parent | 9ddd1b8ad8abd321964b8add5581910de6d67c2a (diff) |
Update from 2.6.36 to 2.6.36.4wip-dissipation-jerickso
Diffstat (limited to 'net/8021q')
-rw-r--r-- | net/8021q/vlan_core.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/8021q/vlan_core.c b/net/8021q/vlan_core.c index 0eb96f7e44be..2dcff0be8acb 100644 --- a/net/8021q/vlan_core.c +++ b/net/8021q/vlan_core.c | |||
@@ -43,6 +43,9 @@ int vlan_hwaccel_do_receive(struct sk_buff *skb) | |||
43 | struct net_device *dev = skb->dev; | 43 | struct net_device *dev = skb->dev; |
44 | struct vlan_rx_stats *rx_stats; | 44 | struct vlan_rx_stats *rx_stats; |
45 | 45 | ||
46 | if (unlikely(!is_vlan_dev(dev))) | ||
47 | return 0; | ||
48 | |||
46 | skb->dev = vlan_dev_info(dev)->real_dev; | 49 | skb->dev = vlan_dev_info(dev)->real_dev; |
47 | netif_nit_deliver(skb); | 50 | netif_nit_deliver(skb); |
48 | 51 | ||