From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: Re-routing packets via netfilter (ip_rt_bug) Date: Tue, 26 Apr 2005 02:08:18 +0200 Message-ID: <426D8672.1030001@trash.net> References: <426D0CB9.4060500@trash.net> <20050425213400.GB29288@gondor.apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: netdev@oss.sgi.com, netfilter-devel@lists.netfilter.org, Yair@arx.com, linux-kernel@vger.kernel.org Return-path: To: Herbert Xu In-Reply-To: <20050425213400.GB29288@gondor.apana.org.au> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netdev.vger.kernel.org Herbert Xu wrote: > You're right. But then we can't call ip_route_output in the case > where saddr is foreign but daddr is local. Nor can we call > ip_route_input since the output will be ip_rt_bug. In that case we need to use saddr=0, which shouldn't make any difference with sane routing. Regards Patrick