]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - net/ipv6/netfilter/ip6t_frag.c
[NETFILTER]: add some consts, remove some casts
[mirror_ubuntu-artful-kernel.git] / net / ipv6 / netfilter / ip6t_frag.c
index f0aed898e8b7c979990d15986f016a422a991380..e0e416bb284a9527466a4bcdbb53a0afe513cdc9 100644 (file)
@@ -50,7 +50,8 @@ match(const struct sk_buff *skb,
       unsigned int protoff,
       bool *hotdrop)
 {
-       struct frag_hdr _frag, *fh;
+       struct frag_hdr _frag;
+       const struct frag_hdr *fh;
        const struct ip6t_frag *fraginfo = matchinfo;
        unsigned int ptr;
        int err;