Re: [PATCH] fib_semantics: prevent long hash chains in access server config

2008-01-13 Thread Benjamin LaHaise
On Sat, Jan 12, 2008 at 09:38:57PM -0800, David Miller wrote: And guess why we don't do this? Because it's not part of the key. Other aspects of the base fib_info and nexthops provide the uniqueness, not the devindex of the first hop. So you'll need to find another way to do this. Ah,

Re: [PATCH] fib_semantics: prevent long hash chains in access server config

2008-01-13 Thread David Miller
From: Benjamin LaHaise [EMAIL PROTECTED] Date: Sun, 13 Jan 2008 12:58:49 -0500 Ah, you're right indeed. It's probably easier for me to change how the daemon adds the local ip address for these point to point interfaces. I guess you didn't understand, I checked in the following patch which

[PATCH] fib_semantics: prevent long hash chains in access server config

2008-01-12 Thread Benjamin LaHaise
This is a patch from a while ago that I'm resending. Basically, in access server configurations, a lot of routes have the same local ip address but on different devices. This fixes the long chains that result from not including the device index in the hash. -ben diff --git

Re: [PATCH] fib_semantics: prevent long hash chains in access server config

2008-01-12 Thread David Miller
From: Benjamin LaHaise [EMAIL PROTECTED] Date: Sat, 12 Jan 2008 13:58:19 -0500 This is a patch from a while ago that I'm resending. Basically, in access server configurations, a lot of routes have the same local ip address but on different devices. This fixes the long chains that result