]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ipv4/xfrm4_mode_tunnel.c
[ARM] 4363/1: AT91: Remove legacy PIO definitions
[linux-2.6-omap-h63xx.git] / net / ipv4 / xfrm4_mode_tunnel.c
index e1cab33fdad1333506ce906b453e11ec8feee6bc..ceb4376f572ae8cd6c7b95845efc38d9820d84bc 100644 (file)
@@ -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)))
                goto out;
 
+       iph = skb->nh.iph;
        if (iph->protocol == IPPROTO_IPIP) {
                if (x->props.flags & XFRM_STATE_DECAP_DSCP)
                        ipv4_copy_dscp(iph, skb->h.ipiph);