netfilter: ip_tables: fix build error
authorPatrick McHardy <kaber@trash.net>
Thu, 11 Jun 2009 23:53:09 +0000 (01:53 +0200)
committerPatrick McHardy <kaber@trash.net>
Thu, 11 Jun 2009 23:53:09 +0000 (01:53 +0200)
Fix build error introduced by commit bb70dfa5 (netfilter: xtables:
consolidate comefrom debug cast access):

net/ipv4/netfilter/ip_tables.c: In function 'ipt_do_table':
net/ipv4/netfilter/ip_tables.c:421: error: 'comefrom' undeclared (first use in this function)
net/ipv4/netfilter/ip_tables.c:421: error: (Each undeclared identifier is reported only once
net/ipv4/netfilter/ip_tables.c:421: error: for each function it appears in.)

Signed-off-by: Patrick McHardy <kaber@trash.net>
net/ipv4/netfilter/ip_tables.c

index 5bf7c3f185da576d37ca0c0271ca2df71a61a1f9..fdefae6b5dfc2d19209dfd7d7729caaa03f02d80 100644 (file)
@@ -418,7 +418,7 @@ ipt_do_table(struct sk_buff *skb,
 #endif
                verdict = t->u.kernel.target->target(skb, &tgpar);
 #ifdef CONFIG_NETFILTER_DEBUG
-               if (comefrom != 0xeeeeeeec && verdict == IPT_CONTINUE) {
+               if (tb_comefrom != 0xeeeeeeec && verdict == IPT_CONTINUE) {
                        printk("Target %s reentered!\n",
                               t->u.kernel.target->name);
                        verdict = NF_DROP;