|
@@ -3004,8 +3004,7 @@ struct sk_buff *skb_segment(struct sk_buff *head_skb,
|
|
if (unlikely(!proto))
|
|
if (unlikely(!proto))
|
|
return ERR_PTR(-EINVAL);
|
|
return ERR_PTR(-EINVAL);
|
|
|
|
|
|
- csum = !head_skb->encap_hdr_csum &&
|
|
|
|
- !!can_checksum_protocol(features, proto);
|
|
|
|
|
|
+ csum = !!can_checksum_protocol(features, proto);
|
|
|
|
|
|
headroom = skb_headroom(head_skb);
|
|
headroom = skb_headroom(head_skb);
|
|
pos = skb_headlen(head_skb);
|
|
pos = skb_headlen(head_skb);
|