OSDN Git Service

udp_offload: Set encapsulation before inner completes.
[uclinux-h8/linux.git] / drivers / net / vxlan.c
index dd2d032..8ac261a 100644 (file)
@@ -616,6 +616,9 @@ out:
 static int vxlan_gro_complete(struct sk_buff *skb, int nhoff,
                              struct udp_offload *uoff)
 {
+       /* Sets 'skb->inner_mac_header' since we are always called with
+        * 'skb->encapsulation' set.
+        */
        return eth_gro_complete(skb, nhoff + sizeof(struct vxlanhdr));
 }