]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ipv4/xfrm4_tunnel.c
[NETFILTER]: nf_conntrack: fix helper module unload races
[linux-2.6-omap-h63xx.git] / 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);