|
@@ -111,6 +111,7 @@ static int xfrm4_tunnel_input(struct xfrm_state *x, struct sk_buff *skb)
|
|
(err = pskb_expand_head(skb, 0, 0, GFP_ATOMIC)))
|
|
(err = pskb_expand_head(skb, 0, 0, GFP_ATOMIC)))
|
|
goto out;
|
|
goto out;
|
|
|
|
|
|
|
|
+ iph = skb->nh.iph;
|
|
if (iph->protocol == IPPROTO_IPIP) {
|
|
if (iph->protocol == IPPROTO_IPIP) {
|
|
if (x->props.flags & XFRM_STATE_DECAP_DSCP)
|
|
if (x->props.flags & XFRM_STATE_DECAP_DSCP)
|
|
ipv4_copy_dscp(iph, skb->h.ipiph);
|
|
ipv4_copy_dscp(iph, skb->h.ipiph);
|