[IPSEC]: Set skb->data to payload in x->mode->output
[deliverable/linux.git] / net / ipv4 / xfrm4_tunnel.c
index 9275c79119b6f32d9bb69c7c64d9be853378eb7b..be572f918b5eaeaacb60c244eea87659ddda3997 100644 (file)
@@ -14,6 +14,7 @@ static int ipip_output(struct xfrm_state *x, struct sk_buff *skb)
 {
        struct iphdr *iph = ip_hdr(skb);
 
+       skb_push(skb, -skb_network_offset(skb));
        iph->tot_len = htons(skb->len);
        ip_send_check(iph);
 
This page took 0.033153 seconds and 5 git commands to generate.