Re: Re-routing packets via netfilter (ip_rt_bug)

From: Patrick McHardy
Date: Mon Apr 25 2005 - 19:09:20 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/