[SK_BUFF]: Introduce skb_transport_header(skb)
[linux-block.git] / net / ipv6 / ipcomp6.c
index 4a6501695e98d5d5de163c7d0c1b88ae50303b57..5555c98dea03b3484fe228d817cf4ea735bf2052 100644 (file)
@@ -143,7 +143,7 @@ static int ipcomp6_output(struct xfrm_state *x, struct sk_buff *skb)
        /* compression */
        plen = skb->len - hdr_len;
        dlen = IPCOMP_SCRATCH_SIZE;
-       start = skb->h.raw;
+       start = skb_transport_header(skb);
 
        cpu = get_cpu();
        scratch = *per_cpu_ptr(ipcomp6_scratches, cpu);