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 408cc99af6b3..87e000633f41 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c | |||
@@ -1905,7 +1905,7 @@ struct sk_buff *skb_segment(struct sk_buff *skb, int features) | |||
1905 | 1905 | ||
1906 | skb_reserve(nskb, headroom); | 1906 | skb_reserve(nskb, headroom); |
1907 | skb_reset_mac_header(nskb); | 1907 | skb_reset_mac_header(nskb); |
1908 | nskb->nh.raw = nskb->data + skb->mac_len; | 1908 | skb_set_network_header(nskb, skb->mac_len); |
1909 | nskb->h.raw = nskb->nh.raw + (skb->h.raw - skb->nh.raw); | 1909 | nskb->h.raw = nskb->nh.raw + (skb->h.raw - skb->nh.raw); |
1910 | memcpy(skb_put(nskb, doffset), skb->data, doffset); | 1910 | memcpy(skb_put(nskb, doffset), skb->data, doffset); |
1911 | 1911 | ||