From: Patrick McHardy Date: Fri, 1 Jun 2007 18:45:04 +0000 (-0700) Subject: [ICMP]: Fix icmp_errors_use_inbound_ifaddr sysctl X-Git-Tag: v2.6.22-rc4~5^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e1d91039becc9d5bcd046d8c709dbaf471220e3;p=pandora-kernel.git [ICMP]: Fix icmp_errors_use_inbound_ifaddr sysctl Currently when icmp_errors_use_inbound_ifaddr is set and an ICMP error is sent after the packet passed through ip_output(), an address from the outgoing interface is chosen as ICMP source address since skb->dev doesn't point to the incoming interface anymore. Fix this by doing an interface lookup on rt->dst.iif and using that device. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- Reading git-diff-tree failed