diff options
author | David Miller <davem@davemloft.net> | 2007-06-06 22:38:11 -0700 |
---|---|---|
committer | Chris Wright <chrisw@sous-sol.org> | 2007-06-11 11:36:51 -0700 |
commit | 572ea9d51b3c264877522e1e3bc585be24cf5938 (patch) | |
tree | b4f490bd32ae35a8bbb5ec75ccec7a08714a0e84 /net/core/utils.c | |
parent | 0b4e7af9ed68fca1a19fdc3181bf077679d4ef22 (diff) |
[PATCH] 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 <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/core/utils.c')
0 files changed, 0 insertions, 0 deletions