aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2009-04-15 15:35:33 -0400
committerJan Engelhardt <jengelh@medozas.de>2009-05-08 04:30:49 -0400
commit7a6b1c46e28ab0511be26c238d552c00b51b88c5 (patch)
tree13c3ee8a27b08cfc53534427654df389a3519589 /net/ipv6
parent9452258d8173806f67b1be5b3b00c39b052060c8 (diff)
netfilter: xtables: remove another level of indent
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'net/ipv6')
-rw-r--r--net/ipv6/netfilter/ip6_tables.c44
1 files changed, 21 insertions, 23 deletions
diff --git a/net/ipv6/netfilter/ip6_tables.c b/net/ipv6/netfilter/ip6_tables.c
index d01b8a39fbd8..5a178be6c8cc 100644
--- a/net/ipv6/netfilter/ip6_tables.c
+++ b/net/ipv6/netfilter/ip6_tables.c
@@ -431,35 +431,33 @@ ip6t_do_table(struct sk_buff *skb,
431 } 431 }
432 432
433 e = get_entry(table_base, v); 433 e = get_entry(table_base, v);
434 } else { 434 continue;
435 /* Targets which reenter must return 435 }
436 abs. verdicts */ 436
437 tgpar.target = t->u.kernel.target; 437 /* Targets which reenter must return
438 tgpar.targinfo = t->data; 438 abs. verdicts */
439 tgpar.target = t->u.kernel.target;
440 tgpar.targinfo = t->data;
439 441
440#ifdef CONFIG_NETFILTER_DEBUG 442#ifdef CONFIG_NETFILTER_DEBUG
441 ((struct ip6t_entry *)table_base)->comefrom 443 ((struct ip6t_entry *)table_base)->comefrom = 0xeeeeeeec;
442 = 0xeeeeeeec;
443#endif 444#endif
444 verdict = t->u.kernel.target->target(skb, &tgpar); 445 verdict = t->u.kernel.target->target(skb, &tgpar);
445 446
446#ifdef CONFIG_NETFILTER_DEBUG 447#ifdef CONFIG_NETFILTER_DEBUG
447 if (((struct ip6t_entry *)table_base)->comefrom 448 if (((struct ip6t_entry *)table_base)->comefrom != 0xeeeeeeec &&
448 != 0xeeeeeeec 449 verdict == IP6T_CONTINUE) {
449 && verdict == IP6T_CONTINUE) { 450 printk("Target %s reentered!\n",
450 printk("Target %s reentered!\n", 451 t->u.kernel.target->name);
451 t->u.kernel.target->name); 452 verdict = NF_DROP;
452 verdict = NF_DROP;
453 }
454 ((struct ip6t_entry *)table_base)->comefrom
455 = 0x57acc001;
456#endif
457 if (verdict == IP6T_CONTINUE)
458 e = ip6t_next_entry(e);
459 else
460 /* Verdict */
461 break;
462 } 453 }
454 ((struct ip6t_entry *)table_base)->comefrom = 0x57acc001;
455#endif
456 if (verdict == IP6T_CONTINUE)
457 e = ip6t_next_entry(e);
458 else
459 /* Verdict */
460 break;
463 } while (!hotdrop); 461 } while (!hotdrop);
464 462
465#ifdef CONFIG_NETFILTER_DEBUG 463#ifdef CONFIG_NETFILTER_DEBUG