diff options
-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 c1a33033cbe2..58ff88edbefd 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c | |||
@@ -2976,9 +2976,9 @@ struct sk_buff *skb_segment(struct sk_buff *head_skb, | |||
2976 | tail = nskb; | 2976 | tail = nskb; |
2977 | 2977 | ||
2978 | __copy_skb_header(nskb, head_skb); | 2978 | __copy_skb_header(nskb, head_skb); |
2979 | nskb->mac_len = head_skb->mac_len; | ||
2980 | 2979 | ||
2981 | skb_headers_offset_update(nskb, skb_headroom(nskb) - headroom); | 2980 | skb_headers_offset_update(nskb, skb_headroom(nskb) - headroom); |
2981 | skb_reset_mac_len(nskb); | ||
2982 | 2982 | ||
2983 | skb_copy_from_linear_data_offset(head_skb, -tnl_hlen, | 2983 | skb_copy_from_linear_data_offset(head_skb, -tnl_hlen, |
2984 | nskb->data - tnl_hlen, | 2984 | nskb->data - tnl_hlen, |