]> err.no Git - linux-2.6/blobdiff - net/ipv4/netfilter/ipt_REJECT.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394...
[linux-2.6] / net / ipv4 / netfilter / ipt_REJECT.c
index 22606e2baa16cbeca5b99380bf34a7c8ed9b1076..2639872849da434bbdc5de4c50584ef2ab9497f7 100644 (file)
@@ -35,8 +35,10 @@ MODULE_DESCRIPTION("Xtables: packet \"rejection\" target for IPv4");
 static void send_reset(struct sk_buff *oldskb, int hook)
 {
        struct sk_buff *nskb;
-       struct iphdr *oiph, *niph;
-       struct tcphdr _otcph, *oth, *tcph;
+       const struct iphdr *oiph;
+       struct iphdr *niph;
+       const struct tcphdr *oth;
+       struct tcphdr _otcph, *tcph;
        unsigned int addr_type;
 
        /* IP header checks: fragment. */