diff options
Diffstat (limited to 'net/core/skbuff.c')
-rw-r--r-- | net/core/skbuff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/skbuff.c b/net/core/skbuff.c index b9e85e6cb26..bf92824af3f 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c @@ -2885,6 +2885,7 @@ 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); @@ -2892,7 +2893,6 @@ struct sk_buff *skb_segment(struct sk_buff *head_skb, csum = !head_skb->encap_hdr_csum && !!can_checksum_protocol(features, proto); - __skb_push(head_skb, doffset); headroom = skb_headroom(head_skb); pos = skb_headlen(head_skb); |