]> err.no Git - linux-2.6/blobdiff - net/ipv6/netfilter/ip6t_ipv6header.c
Merge branch 'linus' into x86/irq
[linux-2.6] / net / ipv6 / netfilter / ip6t_ipv6header.c
index ae497e7ac11bdbee5bdb26b20dfcf6c85090c07b..317a8960a757a44cbea22399627c2e7258bc51ca 100644 (file)
@@ -23,7 +23,7 @@
 #include <linux/netfilter_ipv6/ip6t_ipv6header.h>
 
 MODULE_LICENSE("GPL");
-MODULE_DESCRIPTION("IPv6 headers match");
+MODULE_DESCRIPTION("Xtables: IPv6 header types match");
 MODULE_AUTHOR("Andras Kis-Szabo <kisza@sch.bme.hu>");
 
 static bool
@@ -49,7 +49,8 @@ ipv6header_mt6(const struct sk_buff *skb, const struct net_device *in,
        temp = 0;
 
        while (ip6t_ext_hdr(nexthdr)) {
-               struct ipv6_opt_hdr _hdr, *hp;
+               const struct ipv6_opt_hdr *hp;
+               struct ipv6_opt_hdr _hdr;
                int hdrlen;
 
                /* Is there enough space for the next ext header? */