]> err.no Git - linux-2.6/blobdiff - net/ipv4/xfrm4_tunnel.c
Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mfashe...
[linux-2.6] / net / ipv4 / xfrm4_tunnel.c
index 3eef06454da943e24599d5ca7051a5c6c5ae34c4..568510304553d14c82807eb8e29b81b8f9381079 100644 (file)
@@ -12,9 +12,8 @@
 
 static int ipip_output(struct xfrm_state *x, struct sk_buff *skb)
 {
-       struct iphdr *iph;
+       struct iphdr *iph = ip_hdr(skb);
 
-       iph = skb->nh.iph;
        iph->tot_len = htons(skb->len);
        ip_send_check(iph);