]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ipv6/netfilter/ip6t_REJECT.c
[NETFILTER]: nf_conntrack: use bool type in struct nf_conntrack_l3proto
[linux-2.6-omap-h63xx.git] / net / ipv6 / netfilter / ip6t_REJECT.c
index 831708aeab371099a460ca689c43d27da22a5a97..44c8d65a24312e6ddbaa40c3d827e3eefa14091f 100644 (file)
@@ -41,7 +41,8 @@ static void send_reset(struct sk_buff *oldskb)
        struct tcphdr otcph, *tcph;
        unsigned int otcplen, hh_len;
        int tcphoff, needs_ack;
-       struct ipv6hdr *oip6h = ipv6_hdr(oldskb), *ip6h;
+       const struct ipv6hdr *oip6h = ipv6_hdr(oldskb);
+       struct ipv6hdr *ip6h;
        struct dst_entry *dst = NULL;
        u8 proto;
        struct flowi fl;
@@ -177,7 +178,7 @@ reject_tg6(struct sk_buff *skb, const struct net_device *in,
 {
        const struct ip6t_reject_info *reject = targinfo;
 
-       pr_debug("%s: medium point\n", __FUNCTION__);
+       pr_debug("%s: medium point\n", __func__);
        /* WARNING: This code causes reentry within ip6tables.
           This means that the ip6tables jump stack is now crap.  We
           must return an absolute verdict. --RR */