David Miller wrote: > The post ip_output() case is very unfortunate. Perhaps we > can tag the call sites, or if that doesn't work we can > find some way to perhaps tag the dst as an input vs. output > route in order to avoid this problem. Tagging call-sites should make sure we don't use an address from the outgoing device, but we would still not always use an address from the incoming device. Thinking again, we can simply perform a lookup on rt->fl.iif, that should always do the right thing. Signed-off-by: Patrick McHardy