Skip to content

Commit 24992ea

Browse files
committed
netfilter: ip_tables: fix build error
Fix build error introduced by commit bb70dfa (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>
1 parent 334a47f commit 24992ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/ipv4/netfilter/ip_tables.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ ipt_do_table(struct sk_buff *skb,
418418
#endif
419419
verdict = t->u.kernel.target->target(skb, &tgpar);
420420
#ifdef CONFIG_NETFILTER_DEBUG
421-
if (comefrom != 0xeeeeeeec && verdict == IPT_CONTINUE) {
421+
if (tb_comefrom != 0xeeeeeeec && verdict == IPT_CONTINUE) {
422422
printk("Target %s reentered!\n",
423423
t->u.kernel.target->name);
424424
verdict = NF_DROP;

0 commit comments

Comments
 (0)