| To: | "David S. Miller" <davem@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [RFC] MASQUERADE / policy routing ("Route send us somewhere else") |
| From: | Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> |
| Date: | Tue, 31 Aug 2004 18:23:39 +1000 |
| Cc: | laforge@xxxxxxxxxxxxx, netfilter-devel@xxxxxxxxxxxxxxxxxxx, rusty@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx, kuznet@xxxxxxxxxxxxx |
| In-reply-to: | <20040831070043.GA320@xxxxxxxxxxxxxxxxxxx> |
| References: | <20040830191915.04d49268.davem@xxxxxxxxxxxxx> <E1C1yRs-00086x-00@xxxxxxxxxxxxxxxxxxxxxxxx> <20040830223920.1db0d5ae.davem@xxxxxxxxxxxxx> <20040831064337.GA32614@xxxxxxxxxxxxxxxxxxx> <20040831070043.GA320@xxxxxxxxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.6+20040722i |
On Tue, Aug 31, 2004 at 05:00:43PM +1000, herbert wrote: > > Here's a better idea. Why don't we forget about the route lookup > and call inet_select_addr directly? Even better, why don't we use the skb->dst directly? It already contains the preferred source for the route that led us to the device. Here is an untested patch which does exactly that? Please do your best to break it :) Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
|
| Previous by Date: | Re: [PATCH 2.6.9-rc1-mm1-tso 1/2] 8139cp: SG support fixes, Jeff Garzik |
|---|---|
| Next by Date: | Re: Updated WE-18 (WPA) proposal, Luis R. Rodriguez |
| Previous by Thread: | Re: [RFC] MASQUERADE / policy routing ("Route send us somewhere else"), Herbert Xu |
| Next by Thread: | Re: [RFC] MASQUERADE / policy routing ("Route send us somewhere else"), Julian Anastasov |
| Indexes: | [Date] [Thread] [Top] [All Lists] |