From mboxrd@z Thu Jan 1 00:00:00 1970 From: Herbert Xu Subject: Re: RPS and forwarding Date: Mon, 26 Apr 2010 14:31:36 +0800 Message-ID: <20100426063136.GA22401@gondor.apana.org.au> References: <20100426045316.GA21810@gondor.apana.org.au> <20100425.232857.145290769.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: therbert@google.com, netdev@vger.kernel.org To: David Miller Return-path: Received: from ringil.hengli.com.au ([216.59.3.182]:59961 "EHLO arnor.apana.org.au" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753038Ab0DZGbn (ORCPT ); Mon, 26 Apr 2010 02:31:43 -0400 Content-Disposition: inline In-Reply-To: <20100425.232857.145290769.davem@davemloft.net> Sender: netdev-owner@vger.kernel.org List-ID: On Sun, Apr 25, 2010 at 11:28:57PM -0700, David Miller wrote: > > Right, none of this stuff is on by default. Great, that puts my mind at ease :) > It might be possible to somehow make the sock table get bypassed for > forwarded traffic, but I can't think of a cheap way to do that at > the moment. Yeah I thought about that too but as we need to go through the routing table before we know whether something is forwarded or not, it certainly seems non-trivial. Hmm, maybe if we used a routing cache keyed by rxhash we could make an appromixation? After all, we only need to make sure that no forwarded traffic is redirected, and not the reverse. IOW, it's OK if we incorrectly classify some local traffic as forwarded. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt