summaryrefslogtreecommitdiffstats
path: root/net/8021q/vlan_dev.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2005-12-15 13:15:27 -0500
committerLen Brown <len.brown@intel.com>2005-12-15 13:15:27 -0500
commit5b2db367a28c12e8dfd0b404d9ea35e948c5d7b3 (patch)
tree8ef2f739fc91acda0fb05797cb450b5789d79c59 /net/8021q/vlan_dev.c
parentd3e4cefc86ce1aefc0e9aebdc56308cb4bd51997 (diff)
parent7116317dc9148d783846299fc80a7d377baa6dca (diff)
Auto-update from upstream
Diffstat (limited to 'net/8021q/vlan_dev.c')
-rw-r--r--net/8021q/vlan_dev.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/8021q/vlan_dev.c b/net/8021q/vlan_dev.c
index b7486488967..f2a8750bbf1 100644
--- a/net/8021q/vlan_dev.c
+++ b/net/8021q/vlan_dev.c
@@ -165,6 +165,9 @@ int vlan_skb_recv(struct sk_buff *skb, struct net_device *dev,
skb_pull(skb, VLAN_HLEN); /* take off the VLAN header (4 bytes currently) */
+ /* Need to correct hardware checksum */
+ skb_postpull_rcsum(skb, vhdr, VLAN_HLEN);
+
/* Ok, lets check to make sure the device (dev) we
* came in on is what this VLAN is attached to.
*/