[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4651D0DC.6050203@trash.net>
Date: Mon, 21 May 2007 19:03:24 +0200
From: Patrick McHardy <kaber@...sh.net>
To: David Miller <davem@...emloft.net>
CC: netdev@...r.kernel.org, jmorris@...ei.org, Curtis@...enKey.net
Subject: Re: oops in net/ipv4/icmp.c:icmp_send() with icmp_errors_use_inbound_ifaddr
(fwd)
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 <kaber@...sh.net>
View attachment "x" of type "text/plain" (784 bytes)
Powered by blists - more mailing lists