lkml.org 
[lkml]   [2005]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] ipv4 routing: multipath with cache support, 2.6.10-rc3
David S. Miller wrote:
> This was brought up before. It's the case where the system is acting
> as a router, you have to consider that case and not just the one where
> the local system is where the connections are originating from.
>
> Your trick only works because of how routes are cached per-socket.
> Once you get into the realm of traffic going through the machine as
> a router, the trick stops to work.

We considered the routing case: in the routing case ip_route_input is called.
In this case we just select the first route in the cache which is always the same
(we ensure that). Consequently, the routing behaviour is not changed in this case and
remains in the way you like it.

Regards,
Einar.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:10    [W:0.071 / U:1.648 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site