net: fix UDP tunnel GSO of frag_list GRO packets
[deliverable/linux.git] / net / core / skbuff.c
index 8383b2bddeb923bd629da7d9eac2cdd1ff1d81bd..9433047b2453bff4e7accb0c7ceff9a5f9886acf 100644 (file)
@@ -2881,12 +2881,13 @@ struct sk_buff *skb_segment(struct sk_buff *head_skb,
        int pos;
        int dummy;
 
+       __skb_push(head_skb, doffset);
        proto = skb_network_protocol(head_skb, &dummy);
        if (unlikely(!proto))
                return ERR_PTR(-EINVAL);
 
        csum = !!can_checksum_protocol(features, proto);
-       __skb_push(head_skb, doffset);
+
        headroom = skb_headroom(head_skb);
        pos = skb_headlen(head_skb);
 
This page took 0.045553 seconds and 5 git commands to generate.