]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - net/ipv6/esp6.c
networking: make skb_push & __skb_push return void pointers
[mirror_ubuntu-artful-kernel.git] / net / ipv6 / esp6.c
index 2ede4e459c4ed52ac2db262b82580e030e16435f..d8b40ff4b2e658c44fe9946c1162cbf20e3c4567 100644 (file)
@@ -538,7 +538,7 @@ static void esp_input_set_header(struct sk_buff *skb, __be32 *seqhi)
         * decryption.
         */
        if ((x->props.flags & XFRM_STATE_ESN)) {
-               esph = (void *)skb_push(skb, 4);
+               esph = skb_push(skb, 4);
                *seqhi = esph->spi;
                esph->spi = esph->seq_no;
                esph->seq_no = XFRM_SKB_CB(skb)->seq.input.hi;