]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/8021q/vlan_core.c
gro: Avoid copying headers of unmerged packets
[net-next-2.6.git] / net / 8021q / vlan_core.c
index 2eb057a74654e07c77c79010192eab422cf652dc..378fa69d625ae19b0bae9d70d0f9aeb5d66b2ebd 100644 (file)
@@ -98,6 +98,8 @@ drop:
 int vlan_gro_receive(struct napi_struct *napi, struct vlan_group *grp,
                     unsigned int vlan_tci, struct sk_buff *skb)
 {
+       skb_gro_reset_offset(skb);
+
        return napi_skb_finish(vlan_gro_common(napi, grp, vlan_tci, skb), skb);
 }
 EXPORT_SYMBOL(vlan_gro_receive);