Messages in this thread | | | Date | Tue, 26 Apr 2005 10:39:25 +1000 | Subject | Re: Re-routing packets via netfilter (ip_rt_bug) | From | Herbert Xu <> |
| |
On Tue, Apr 26, 2005 at 02:08:18AM +0200, Patrick McHardy wrote: > 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.
Makes sense. But what about the case where saddr is foreign but daddr is broadcast/multicast?
Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - 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/
| |