Re: [IPv6] rules: Use RT6_LOOKUP_F_HAS_SADDR and fix source based selectors

2006-10-13 Thread David Miller
From: Ville Nuorvala <[EMAIL PROTECTED]> Date: Fri, 13 Oct 2006 11:58:44 +0300 > Acked-by: Ville Nuorvala <[EMAIL PROTECTED]> Thanks, I've applied Thomas's patch. > I'm currently working on a patch for all of this, but please go ahead > and apply Thomas's and Kim's patch. > > I'll try to post a

Re: [IPv6] rules: Use RT6_LOOKUP_F_HAS_SADDR and fix source based selectors

2006-10-13 Thread Ville Nuorvala
On 10/13/06 05:16, David Miller wrote: > From: YOSHIFUJI Hideaki <[EMAIL PROTECTED]> > Date: Thu, 12 Oct 2006 18:55:51 +0900 (JST) > >> I tend to agree. Ville, do you agree? > > I'll wait for Ville's response before applying this. > Otherwise, I think the change looks fine. Acked-by: Ville Nuo

Re: [IPv6] rules: Use RT6_LOOKUP_F_HAS_SADDR and fix source based selectors

2006-10-12 Thread David Miller
From: YOSHIFUJI Hideaki <[EMAIL PROTECTED]> Date: Thu, 12 Oct 2006 18:55:51 +0900 (JST) > I tend to agree. Ville, do you agree? I'll wait for Ville's response before applying this. Otherwise, I think the change looks fine. - To unsubscribe from this list: send the line "unsubscribe netdev" in th

Re: [IPv6] rules: Use RT6_LOOKUP_F_HAS_SADDR and fix source based selectors

2006-10-12 Thread YOSHIFUJI Hideaki / 吉藤英明
In article <[EMAIL PROTECTED]> (at Thu, 12 Oct 2006 11:41:24 +0200), Thomas Graf <[EMAIL PROTECTED]> says: > Fixes rt6_lookup() to provide the source address in the flow > and sets RT6_LOOKUP_F_HAS_SADDR whenever it is present in > the flow. > > Avoids unnecessary prefix comparisons by checking

[IPv6] rules: Use RT6_LOOKUP_F_HAS_SADDR and fix source based selectors

2006-10-12 Thread Thomas Graf
Fixes rt6_lookup() to provide the source address in the flow and sets RT6_LOOKUP_F_HAS_SADDR whenever it is present in the flow. Avoids unnecessary prefix comparisons by checking for a prefix length first. Fixes the rule logic to not match packets if a source selector has been specified but no so