[PATCH 1/3] [NET] fib_rules: goto rule action

2007-03-26 Thread Thomas Graf
This patch adds a new rule action FR_ACT_GOTO which allows to skip a set of rules by jumping to another rule. The rule to jump to is specified via the FRA_GOTO attribute which carries a rule preference. Referring to a rule which doesn't exists is explicitely allowed. Such goto rules are marked

Re: [PATCH 1/3] [NET] fib_rules: goto rule action

2007-03-26 Thread David Miller
From: Thomas Graf [EMAIL PROTECTED] Date: Tue, 27 Mar 2007 01:54:51 +0200 This patch adds a new rule action FR_ACT_GOTO which allows to skip a set of rules by jumping to another rule. The rule to jump to is specified via the FRA_GOTO attribute which carries a rule preference. Referring to

Re: [PATCH 1/3] [NET] fib_rules: goto rule action

2007-03-26 Thread Stephen Hemminger
David Miller wrote: From: Thomas Graf [EMAIL PROTECTED] Date: Tue, 27 Mar 2007 01:54:51 +0200 This patch adds a new rule action FR_ACT_GOTO which allows to skip a set of rules by jumping to another rule. The rule to jump to is specified via the FRA_GOTO attribute which carries a rule

Re: [PATCH 1/3] [NET] fib_rules: goto rule action

2007-03-26 Thread David Miller
From: Stephen Hemminger [EMAIL PROTECTED] Date: Mon, 26 Mar 2007 21:13:07 -0700 Do we have to worry about self inflicted infinite loops? Shouldn't there be some way to some basic validation? We do, and there is. You obviously didn't read Thomas's patch. He prevents loops by only allowing