]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blobdiff - net/ipv6/ipcomp6.c
[SK_BUFF]: unions of just one member don't get anything done, kill them
[mirror_ubuntu-eoan-kernel.git] / net / ipv6 / ipcomp6.c
index 5555c98dea03b3484fe228d817cf4ea735bf2052..7691a1b5caac9edbc3aef4e730fec44b0ed8608d 100644 (file)
@@ -81,7 +81,7 @@ static int ipcomp6_input(struct xfrm_state *x, struct sk_buff *skb)
        /* Remove ipcomp header and decompress original payload */
        iph = ipv6_hdr(skb);
        ipch = (void *)skb->data;
-       skb->h.raw = skb->nh.raw + sizeof(*ipch);
+       skb->transport_header = skb->network_header + sizeof(*ipch);
        __skb_pull(skb, sizeof(*ipch));
 
        /* decompression */